summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-07-11 02:38:00 +0000
committerAdam Jackson <ajax@nwnk.net>2005-07-11 02:38:00 +0000
commit5f673ca035ec1c3c4abdc162f50c864c89ed84d4 (patch)
tree69d5b43930d541eeb1058fea427c9dc821d5f556
parentc2bc3b67c121ffb1152333e268b675643f9f477f (diff)
Prep input drivers for modularizing by adding guarded #include "config.h"XORG-6_8_99_900XORG-6_8_99_16XORG-6_8_99_15
-rw-r--r--src/mouse.c4
-rw-r--r--src/pnp.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/mouse.c b/src/mouse.c
index 1d03e2d..8154a7f 100644
--- a/src/mouse.c
+++ b/src/mouse.c
@@ -45,6 +45,10 @@
* and to help limited dexterity persons
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define NEED_EVENTS
#include <X11/X.h>
#include <X11/Xproto.h>
diff --git a/src/pnp.c b/src/pnp.c
index eca608b..316d809 100644
--- a/src/pnp.c
+++ b/src/pnp.c
@@ -21,6 +21,10 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define NEED_EVENTS
#include <X11/X.h>
#include <X11/Xproto.h>