]> granicus.if.org Git - yasm/commitdiff
Include stddef.h for size_t.
authorPeter Johnson <peter@tortall.net>
Thu, 20 Sep 2001 06:43:19 +0000 (06:43 -0000)
committerPeter Johnson <peter@tortall.net>
Thu, 20 Sep 2001 06:43:19 +0000 (06:43 -0000)
svn path=/trunk/yasm/; revision=206

libyasm/util.h
src/util.h
util.h

index 320a957587e134a5ea15270f3e6de31a3fb8ea2e..bc54cb770ac2028a4611bd0d7028349ec06433ed 100644 (file)
 #ifndef YASM_UTIL_H
 #define YASM_UTIL_H
 
+#ifdef STDC_HEADERS
+# include <stddef.h>
+#endif
+
 #if !defined(HAVE_STRDUP) || defined(HAVE_GNU_C_LIBRARY)
 char *strdup(const char *str);
 #endif
index 320a957587e134a5ea15270f3e6de31a3fb8ea2e..bc54cb770ac2028a4611bd0d7028349ec06433ed 100644 (file)
 #ifndef YASM_UTIL_H
 #define YASM_UTIL_H
 
+#ifdef STDC_HEADERS
+# include <stddef.h>
+#endif
+
 #if !defined(HAVE_STRDUP) || defined(HAVE_GNU_C_LIBRARY)
 char *strdup(const char *str);
 #endif
diff --git a/util.h b/util.h
index 320a957587e134a5ea15270f3e6de31a3fb8ea2e..bc54cb770ac2028a4611bd0d7028349ec06433ed 100644 (file)
--- a/util.h
+++ b/util.h
 #ifndef YASM_UTIL_H
 #define YASM_UTIL_H
 
+#ifdef STDC_HEADERS
+# include <stddef.h>
+#endif
+
 #if !defined(HAVE_STRDUP) || defined(HAVE_GNU_C_LIBRARY)
 char *strdup(const char *str);
 #endif