Commit 7e30056e authored by Niveditha Rau's avatar Niveditha Rau Committed by Alan Coopersmith

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's avatarNiveditha Rau <Niveditha.Rau@Oracle.COM>
Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
parent 2820100b
......@@ -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
......
......@@ -2,6 +2,7 @@
#ifndef _XINTATOM_H_
#define _XINTATOM_H_ 1
#include <X11/Xlib.h>
#include <X11/Xfuncproto.h>
/* IntAtom.c */
......
......@@ -3,6 +3,7 @@
#define _XINTCONN_H_ 1
#include <X11/Xfuncproto.h>
#include <X11/Xlib.h>
_XFUNCPROTOBEGIN
......
......@@ -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);
......
......@@ -2,6 +2,8 @@
#ifndef _XRESINTERNAL_H_
#define _XRESINTERNAL_H_
#include <X11/Xlib.h>
#include <X11/Xresource.h>
#include <inttypes.h>
/* type defines */
......
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment