From: Peter Johnson Date: Thu, 20 Sep 2001 06:43:19 +0000 (-0000) Subject: Include stddef.h for size_t. X-Git-Tag: v0.1.0~312 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f173e9e04211d62a63ffaab6284888e5478e9648;p=yasm Include stddef.h for size_t. svn path=/trunk/yasm/; revision=206 --- diff --git a/libyasm/util.h b/libyasm/util.h index 320a9575..bc54cb77 100644 --- a/libyasm/util.h +++ b/libyasm/util.h @@ -22,6 +22,10 @@ #ifndef YASM_UTIL_H #define YASM_UTIL_H +#ifdef STDC_HEADERS +# include +#endif + #if !defined(HAVE_STRDUP) || defined(HAVE_GNU_C_LIBRARY) char *strdup(const char *str); #endif diff --git a/src/util.h b/src/util.h index 320a9575..bc54cb77 100644 --- a/src/util.h +++ b/src/util.h @@ -22,6 +22,10 @@ #ifndef YASM_UTIL_H #define YASM_UTIL_H +#ifdef STDC_HEADERS +# include +#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 320a9575..bc54cb77 100644 --- a/util.h +++ b/util.h @@ -22,6 +22,10 @@ #ifndef YASM_UTIL_H #define YASM_UTIL_H +#ifdef STDC_HEADERS +# include +#endif + #if !defined(HAVE_STRDUP) || defined(HAVE_GNU_C_LIBRARY) char *strdup(const char *str); #endif