summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am3
-rw-r--r--src/XChDevHier.c5
2 files changed, 5 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 41807eb..7279922 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -66,6 +66,7 @@ AM_CFLAGS = -I$(top_srcdir)/include \
libXi_la_LDFLAGS = -version-number 6:0:0 -no-undefined
libXiincludedir = $(includedir)/X11/extensions
-libXiinclude_HEADERS = $(top_srcdir)/include/X11/extensions/XInput.h
+libXiinclude_HEADERS = $(top_srcdir)/include/X11/extensions/XInput.h \
+ $(top_srcdir)/include/X11/extensions/XInput2.h
EXTRA_DIST = XFreeLst.c
diff --git a/src/XChDevHier.c b/src/XChDevHier.c
index 4d5fc14..d157415 100644
--- a/src/XChDevHier.c
+++ b/src/XChDevHier.c
@@ -30,10 +30,11 @@ in this Software without prior written authorization from The Open Group.
* device is attached to which master, etc.
*/
+#include <stdint.h>
#include <X11/extensions/XI.h>
-#include <X11/extensions/XIproto.h>
+#include <X11/extensions/XI2proto.h>
#include <X11/Xlibint.h>
-#include <X11/extensions/XInput.h>
+#include <X11/extensions/XInput2.h>
#include <X11/extensions/extutil.h>
#include "XIint.h"