summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorPeter Johnson <peter@tortall.net>2003-05-10 05:40:44 +0000
committerPeter Johnson <peter@tortall.net>2003-05-10 05:40:44 +0000
commitb6a212e199ca966440a5568c5776b0b155e33442 (patch)
tree667354b6269465e7ba7d01331d22a2b6d8172c9f /util.h
parent2f3f398762d2030fbb96bdc3e28ccac1f8520896 (diff)
downloadyasm-b6a212e199ca966440a5568c5776b0b155e33442.tar.gz
Pre-include libyasm/coretype.h to avoid #defining functions such as
yasm__strsep() (here) before their prototypes are declared (in coretype.h). Header protections keep coretype.h from being included again (from libyasm.h). svn path=/trunk/yasm/; revision=948
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 3e6ff1c4..5af2e910 100644
--- a/util.h
+++ b/util.h
@@ -1,4 +1,4 @@
-/* $IdPath: yasm/util.h,v 1.51 2003/05/04 20:28:28 peter Exp $
+/* $IdPath: yasm/util.h,v 1.52 2003/05/05 03:42:08 peter Exp $
* YASM utility functions.
*
* Includes standard headers and defines prototypes for replacement functions
@@ -51,6 +51,8 @@
# include <assert.h>
#endif
+#include <libyasm/coretype.h>
+
#ifdef lint
# define _(String) String
#else