summaryrefslogtreecommitdiff
path: root/src/Xprivate.h
diff options
context:
space:
mode:
authorNiveditha Rau <Niveditha.Rau@Oracle.COM>2013-05-17 15:26:21 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-05-17 15:27:31 -0700
commit7e30056e78e4b7979ff47f102e00327617266019 (patch)
tree6a009a567d68383dd74f2c3c1cfe3fde016f5f2d /src/Xprivate.h
parent2820100bf8ba130b94253f415e7fa5ac28bb2037 (diff)
downloadxorg-lib-libX11-7e30056e78e4b7979ff47f102e00327617266019.tar.gz
Make sure internal headers include required headers
Fixes builds with Solaris Studio 12.3 when lint is enabled, since it no longer ignores *.h files, but complains when they reference undefined typedefs or macros. Signed-off-by: Niveditha Rau <Niveditha.Rau@Oracle.COM> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/Xprivate.h')
-rw-r--r--src/Xprivate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Xprivate.h b/src/Xprivate.h
index 006b1705..6bfe70ba 100644
--- a/src/Xprivate.h
+++ b/src/Xprivate.h
@@ -8,6 +8,8 @@
#ifndef XPRIVATE_H
#define XPRIVATE_H
+#include <X11/Xlib.h>
+
extern _X_HIDDEN void _XIDHandler(Display *dpy);
extern _X_HIDDEN void _XSeqSyncFunction(Display *dpy);
extern _X_HIDDEN void _XSetPrivSyncFunction(Display *dpy);