aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/Xlib.h
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2016-07-26 23:18:33 +0200
committerUlrich Sibiller <uli42@gmx.de>2016-08-24 21:24:38 +0200
commit15f943da9b96f485e82ce92ec2673e9b3b2ed58e (patch)
tree59a16df1991efbe4c9768fbcf02727f26444ea00 /nx-X11/lib/X11/Xlib.h
parent2ebef6288467ce0f0583a0d0d2ef9afd637ee7e6 (diff)
downloadnx-libs-15f943da9b96f485e82ce92ec2673e9b3b2ed58e.tar.gz
nx-libs-15f943da9b96f485e82ce92ec2673e9b3b2ed58e.tar.bz2
nx-libs-15f943da9b96f485e82ce92ec2673e9b3b2ed58e.zip
improve header guards
Upstream has changed the header guards. We adapt them to prevent double inclusion.
Diffstat (limited to 'nx-X11/lib/X11/Xlib.h')
-rw-r--r--nx-X11/lib/X11/Xlib.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/nx-X11/lib/X11/Xlib.h b/nx-X11/lib/X11/Xlib.h
index c6851ecf8..6e70ba743 100644
--- a/nx-X11/lib/X11/Xlib.h
+++ b/nx-X11/lib/X11/Xlib.h
@@ -30,7 +30,8 @@ in this Software without prior written authorization from The Open Group.
* interface library (Xlib) to the X Window System Protocol (V11).
* Structures and symbols starting with "_" are private to the library.
*/
-#ifndef _XLIB_H_
+#if !defined(_X11_XLIB_H_) && !defined(_XLIB_H_)
+#define _X11_XLIB_H_
#define _XLIB_H_
#define XlibSpecificationRelease 6
@@ -4041,4 +4042,4 @@ extern void XFreeEventData(
_XFUNCPROTOEND
-#endif /* _XLIB_H_ */
+#endif /* _X11_XLIB_H_ */