summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/synproto.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/synproto.h b/src/synproto.h
index cf0034c..f164393 100644
--- a/src/synproto.h
+++ b/src/synproto.h
@@ -27,13 +27,15 @@
#ifndef _SYNPROTO_H_
#define _SYNPROTO_H_
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <unistd.h>
#include <sys/ioctl.h>
#include <xf86Xinput.h>
#include <xisb.h>
-#include "config.h"
-
struct _SynapticsPrivateRec;
typedef struct _SynapticsPrivateRec SynapticsPrivate;