diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-05-21 10:35:47 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-05-31 15:14:37 +1000 |
commit | f3abb163c3c216f48a5f4624b12c32e496336513 (patch) | |
tree | 9767f00cb4154262a8b1ed8450eaab1c21b89086 /src | |
parent | e6ca6521b4e880c6a314a880e73039e574a02c28 (diff) |
check for HAVE_CONFIG_H before including config.h
No real effect, just for correctness. Plus, move the include directive up to
be the first include.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/synproto.h | 6 |
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; |