Commit 26f7239a authored by Niveditha Rau's avatar Niveditha Rau Committed by Ulrich Sibiller

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: 's avatarNiveditha Rau <Niveditha.Rau@Oracle.COM> Signed-off-by: 's avatarAlan Coopersmith <alan.coopersmith@oracle.com> Backported-to-NX-by: 's avatarUlrich Sibiller <uli42@gmx.de>
parent 71fb99cb
......@@ -2,6 +2,8 @@
#ifndef _CMAP_H_
#define _CMAP_H_
#include <nx-X11/Xlib.h>
extern void
_XcmsDeleteCmapRec(
Display *dpy,
......
......@@ -2,6 +2,8 @@
#ifndef _CR_H_
#define _CR_H_
#include <nx-X11/Xlib.h>
extern int _XUpdateGCCache(
register GC gc,
register unsigned long mask,
......
......@@ -2,6 +2,9 @@
#ifndef _KEY_H_
#define _KEY_H_
#include <nx-X11/Xlib.h>
#include <nx-X11/Xresource.h>
#ifndef NEEDKTABLE
extern const unsigned char _XkeyTable[];
#endif
......
......@@ -2,6 +2,7 @@
#ifndef _XINTATOM_H_
#define _XINTATOM_H_ 1
#include <nx-X11/Xlib.h>
#include <nx-X11/Xfuncproto.h>
/* IntAtom.c */
......
......@@ -3,6 +3,7 @@
#define _XINTCONN_H_ 1
#include <nx-X11/Xfuncproto.h>
#include <nx-X11/Xlib.h>
_XFUNCPROTOBEGIN
......
......@@ -8,6 +8,8 @@
#ifndef XPRIVATE_H
#define XPRIVATE_H
#include <nx-X11/Xlib.h>
extern void _XIDHandler(Display *dpy);
extern void _XSeqSyncFunction(Display *dpy);
extern void _XSetPrivSyncFunction(Display *dpy);
......
......@@ -2,6 +2,8 @@
#ifndef _XRESINTERNAL_H_
#define _XRESINTERNAL_H_
#include <nx-X11/Xlib.h>
#include <nx-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 <nx-X11/Xlib.h>
#include <nx-X11/Xlibint.h>
#include <nx-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