summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorPeter Johnson <peter@tortall.net>2003-06-04 05:03:40 +0000
committerPeter Johnson <peter@tortall.net>2003-06-04 05:03:40 +0000
commitdd4ae0b63a63036ab700e6d8e72497125403c89c (patch)
tree5495fad802950fa2d568e6f4e28ffbccb4be7194 /util.h
parentd2e226e3b76595d4b8c94f4904f98d4f819c491c (diff)
downloadyasm-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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/util.h b/util.h
index 5af2e910..24aee309 100644
--- 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__)