summaryrefslogtreecommitdiff
path: root/nasm.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-04-13 20:06:41 +0000
committerH. Peter Anvin <hpa@zytor.com>2007-04-13 20:06:41 +0000
commitc40f89e1c2c8a6ba4b7b86148aacbc0a32bf5b57 (patch)
treee405d2b6af30d3e41a206dc8474e95da253dc653 /nasm.h
parent1a4440ac5860cb410895023b28f812f2c481c041 (diff)
downloadnasm-c40f89e1c2c8a6ba4b7b86148aacbc0a32bf5b57.tar.gz
AIf we have config.h, we should actually include it!!
Apparently configure was generating config.h, and nothing ever actually included it. Include it in nasm.h as well as compiler.h, and in rdoff/rdlar.h which uses these macros. There appears to be no use of HAVE_* macros in any file that doesn't have nasm.h included; in fact, so far the only use has been in rdoff/rdlar.h.
Diffstat (limited to 'nasm.h')
-rw-r--r--nasm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/nasm.h b/nasm.h
index 274a9121..7be82986 100644
--- a/nasm.h
+++ b/nasm.h
@@ -15,6 +15,10 @@
#include <inttypes.h>
#include "version.h" /* generated NASM version macros */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#ifndef NULL
#define NULL 0
#endif