aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/Xresource.h
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2016-07-26 23:18:33 +0200
committerUlrich Sibiller <uli42@gmx.de>2016-10-10 22:52:29 +0200
commitef5565f8ed86f05ca20ff1bfc5892fb8a2c557bc (patch)
tree27e3c3cd35c7d9460a67c586a980c8d415c41b8a /nx-X11/lib/X11/Xresource.h
parent5930731421ae76931301302c515d75001b9f72a0 (diff)
downloadnx-libs-ef5565f8ed86f05ca20ff1bfc5892fb8a2c557bc.tar.gz
nx-libs-ef5565f8ed86f05ca20ff1bfc5892fb8a2c557bc.tar.bz2
nx-libs-ef5565f8ed86f05ca20ff1bfc5892fb8a2c557bc.zip
improve header guards
Upstream has changed the header guards. We adapt them to prevent double inclusion.
Diffstat (limited to 'nx-X11/lib/X11/Xresource.h')
-rw-r--r--nx-X11/lib/X11/Xresource.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/nx-X11/lib/X11/Xresource.h b/nx-X11/lib/X11/Xresource.h
index c8c92a048..4a2e8d044 100644
--- a/nx-X11/lib/X11/Xresource.h
+++ b/nx-X11/lib/X11/Xresource.h
@@ -46,7 +46,8 @@ SOFTWARE.
******************************************************************/
-#ifndef _XRESOURCE_H_
+#if !defined(_X11_XRESOURCE_H_) && !defined(_XRESOURCE_H_)
+#define _X11_XRESOURCE_H_
#define _XRESOURCE_H_
#ifndef _XP_PRINT_SERVER_
@@ -354,5 +355,5 @@ extern void XrmParseCommand(
_XFUNCPROTOEND
-#endif /* _XRESOURCE_H_ */
+#endif /* !defined(_X11_XRESOURCE_H_) && !defined(_XRESOURCE_H_) */
/* DON'T ADD STUFF AFTER THIS #endif */