diff options
author | Peter Johnson <peter@tortall.net> | 2003-06-04 05:03:40 +0000 |
---|---|---|
committer | Peter Johnson <peter@tortall.net> | 2003-06-04 05:03:40 +0000 |
commit | dd4ae0b63a63036ab700e6d8e72497125403c89c (patch) | |
tree | 5495fad802950fa2d568e6f4e28ffbccb4be7194 /util.h | |
parent | d2e226e3b76595d4b8c94f4904f98d4f819c491c (diff) | |
download | yasm-dd4ae0b63a63036ab700e6d8e72497125403c89c.tar.gz |
Only include config.h if HAVE_CONFIG_H is defined.
svn path=/trunk/yasm/; revision=964
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $IdPath: yasm/util.h,v 1.52 2003/05/05 03:42:08 peter Exp $ +/* $IdPath$ * YASM utility functions. * * Includes standard headers and defines prototypes for replacement functions @@ -30,7 +30,9 @@ #ifndef YASM_UTIL_H #define YASM_UTIL_H +#ifdef HAVE_CONFIG_H #include <config.h> +#endif /* Work around glibc's non-defining of certain things when using gcc -ansi */ #if defined(HAVE_GNU_C_LIBRARY) && defined(__STRICT_ANSI__) |