From ef5565f8ed86f05ca20ff1bfc5892fb8a2c557bc Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Tue, 26 Jul 2016 23:18:33 +0200 Subject: improve header guards Upstream has changed the header guards. We adapt them to prevent double inclusion. --- nx-X11/lib/X11/Xlib.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'nx-X11/lib/X11/Xlib.h') diff --git a/nx-X11/lib/X11/Xlib.h b/nx-X11/lib/X11/Xlib.h index c6851ecf8..883b1330f 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 /* #if !defined(_X11_XLIB_H_) && !defined(_XLIB_H_) */ -- cgit v1.2.3