summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Green <mrg@NetBSD.org>2015-07-20 10:37:16 +0200
committerThomas Klausner <wiz@NetBSD.org>2015-07-23 13:51:52 +0200
commitfc5d97e06c922de929017f676a58adf741770bc7 (patch)
tree64b00e6e5119ae61911115342763432dfb09c9b5
parent97e53b5896752a7e504d0159a7009418e2510521 (diff)
Properly hide config.h inclusion inside HAVE_CONFIG_H.
v2: make config.h inclusion the first one. Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
-rw-r--r--src/geode.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/geode.h b/src/geode.h
index ac69368..815efc7 100644
--- a/src/geode.h
+++ b/src/geode.h
@@ -27,8 +27,10 @@
#ifndef _GEODE_H_
#define _GEODE_H_
-#include "geode_pcirename.h"
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
+#include "geode_pcirename.h"
#ifdef HAVE_XAA_H
#include "xaa.h"