diff options
author | Niveditha Rau <Niveditha.Rau@Oracle.COM> | 2013-05-17 15:26:21 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-05-17 15:27:31 -0700 |
commit | 7e30056e78e4b7979ff47f102e00327617266019 (patch) | |
tree | 6a009a567d68383dd74f2c3c1cfe3fde016f5f2d /src | |
parent | 2820100bf8ba130b94253f415e7fa5ac28bb2037 (diff) |
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')
-rw-r--r-- | src/Cmap.h | 2 | ||||
-rw-r--r-- | src/Cr.h | 2 | ||||
-rw-r--r-- | src/Key.h | 3 | ||||
-rw-r--r-- | src/Xintatom.h | 1 | ||||
-rw-r--r-- | src/Xintconn.h | 1 | ||||
-rw-r--r-- | src/Xprivate.h | 2 | ||||
-rw-r--r-- | src/Xresinternal.h | 2 | ||||
-rw-r--r-- | src/locking.h | 2 |
8 files changed, 15 insertions, 0 deletions
@@ -2,6 +2,8 @@ #ifndef _CMAP_H_ #define _CMAP_H_ +#include <X11/Xlib.h> + extern void _XcmsDeleteCmapRec( Display *dpy, @@ -2,6 +2,8 @@ #ifndef _CR_H_ #define _CR_H_ +#include <X11/Xlib.h> + extern int _XUpdateGCCache( register GC gc, register unsigned long mask, @@ -2,6 +2,9 @@ #ifndef _KEY_H_ #define _KEY_H_ +#include <X11/Xlib.h> +#include <X11/Xresource.h> + #ifndef NEEDKTABLE extern const unsigned char _XkeyTable[]; #endif diff --git a/src/Xintatom.h b/src/Xintatom.h index 82dba36e..516a72b1 100644 --- a/src/Xintatom.h +++ b/src/Xintatom.h @@ -2,6 +2,7 @@ #ifndef _XINTATOM_H_ #define _XINTATOM_H_ 1 +#include <X11/Xlib.h> #include <X11/Xfuncproto.h> /* IntAtom.c */ diff --git a/src/Xintconn.h b/src/Xintconn.h index db59061a..cd9aee32 100644 --- a/src/Xintconn.h +++ b/src/Xintconn.h @@ -3,6 +3,7 @@ #define _XINTCONN_H_ 1 #include <X11/Xfuncproto.h> +#include <X11/Xlib.h> _XFUNCPROTOBEGIN 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); diff --git a/src/Xresinternal.h b/src/Xresinternal.h index c2f355fe..b5cc7ffc 100644 --- a/src/Xresinternal.h +++ b/src/Xresinternal.h @@ -2,6 +2,8 @@ #ifndef _XRESINTERNAL_H_ #define _XRESINTERNAL_H_ +#include <X11/Xlib.h> +#include <X11/Xresource.h> #include <inttypes.h> /* type defines */ diff --git a/src/locking.h b/src/locking.h index 96019fc9..5251a60c 100644 --- a/src/locking.h +++ b/src/locking.h @@ -36,6 +36,8 @@ in this Software without prior written authorization from The Open Group. #define xmalloc(s) Xmalloc(s) #define xfree(s) Xfree(s) +#include <X11/Xlib.h> +#include <X11/Xlibint.h> #include <X11/Xthreads.h> struct _XCVList { |