summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-10-16 06:04:35 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2011-10-16 06:05:02 -0700
commit0bebed04523955f6e97e2cd0d190b2e1ad7ba88c (patch)
tree78efc6d11f356d17a385cf61d6f69d56784edcd3
parentee0f8d95c183584ed56ffeb8852715af2468cbe8 (diff)
Properly include config.h in each of our source files
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-rw-r--r--src/driver.c2
-rw-r--r--src/input.c2
-rw-r--r--src/xlibclient.c4
3 files changed, 8 insertions, 0 deletions
diff --git a/src/driver.c b/src/driver.c
index 4308f58..c1ddad0 100644
--- a/src/driver.c
+++ b/src/driver.c
@@ -42,7 +42,9 @@
#include <xf86str.h>
#include "xf86Xinput.h"
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
#include "client.h"
#include "input.h"
diff --git a/src/input.c b/src/input.c
index 6f094d3..7168764 100644
--- a/src/input.c
+++ b/src/input.c
@@ -46,7 +46,9 @@
#include <xf86str.h>
#include <xf86_OSproc.h>
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
#include "client.h"
#include "input.h"
diff --git a/src/xlibclient.c b/src/xlibclient.c
index 6539889..337a9cb 100644
--- a/src/xlibclient.c
+++ b/src/xlibclient.c
@@ -40,6 +40,10 @@
#include <xf86.h>
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "client.h"
#include "input.h"