]> granicus.if.org Git - yasm/commitdiff
Only include config.h if HAVE_CONFIG_H is defined.
authorPeter Johnson <peter@tortall.net>
Wed, 4 Jun 2003 05:03:40 +0000 (05:03 -0000)
committerPeter Johnson <peter@tortall.net>
Wed, 4 Jun 2003 05:03:40 +0000 (05:03 -0000)
svn path=/trunk/yasm/; revision=964

util.h

diff --git a/util.h b/util.h
index 5af2e9101013fcfebe47a0a688bb6a100c1a9b32..24aee309e17fc4619c88e88ae002ef6709f520e0 100644 (file)
--- a/util.h
+++ b/util.h
@@ -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__)