Include <stddef.h>, needed for ptrdiff_t.
authorBruno Haible <bruno@clisp.org>
Mon, 11 Jun 2007 00:17:50 +0000 (00:17 +0000)
committerBruno Haible <bruno@clisp.org>
Mon, 11 Jun 2007 00:17:50 +0000 (00:17 +0000)
ChangeLog
lib/mbiter.h
lib/mbuiter.h

index c3782e3..35cab5e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 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
        declaration.
 
index 5fa8c23..0fc3c18 100644 (file)
@@ -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
index e6ad488..c4ceddb 100644 (file)
@@ -92,6 +92,7 @@
 
 #include <assert.h>
 #include <stdbool.h>
+#include <stddef.h>
 #include <stdlib.h>
 #include <string.h>