summaryrefslogtreecommitdiff
path: root/src/eventcomm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eventcomm.c')
-rw-r--r--src/eventcomm.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/eventcomm.c b/src/eventcomm.c
index e3257cd..83da68b 100644
--- a/src/eventcomm.c
+++ b/src/eventcomm.c
@@ -17,6 +17,12 @@
*
*/
+#ifdef __LINUX
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "eventcomm.h"
#include <errno.h>
#include <sys/types.h>
@@ -316,3 +322,5 @@ struct SynapticsProtocolOperations event_proto_operations = {
EventReadHwState,
EventAutoDevProbe
};
+
+#endif