changeset 8966:cbc204793cf7

Include <stddef.h>, needed for ptrdiff_t.
author Bruno Haible <bruno@clisp.org>
date Mon, 11 Jun 2007 00:17:50 +0000
parents 8b25e939df30
children 5963f8c7f555
files ChangeLog lib/mbiter.h lib/mbuiter.h
diffstat 3 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-06-10  Bruno Haible  <bruno@clisp.org>
+
+	* lib/mbiter.h: Include <stddef.h>, needed for ptrdiff_t.
+	* lib/mbuiter.h: Likewise.
+
 2007-06-10  Bruno Haible  <bruno@clisp.org>
 
 	* m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Check for _snprintf
--- a/lib/mbiter.h
+++ b/lib/mbiter.h
@@ -85,6 +85,7 @@
 
 #include <assert.h>
 #include <stdbool.h>
+#include <stddef.h>
 #include <string.h>
 
 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
--- a/lib/mbuiter.h
+++ b/lib/mbuiter.h
@@ -92,6 +92,7 @@
 
 #include <assert.h>
 #include <stdbool.h>
+#include <stddef.h>
 #include <stdlib.h>
 #include <string.h>