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/Xcms.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'nx-X11/lib/X11/Xcms.h') diff --git a/nx-X11/lib/X11/Xcms.h b/nx-X11/lib/X11/Xcms.h index 4ec2e4ead..70166cbbd 100644 --- a/nx-X11/lib/X11/Xcms.h +++ b/nx-X11/lib/X11/Xcms.h @@ -26,7 +26,8 @@ * DESCRIPTION * Public include file for X Color Management System */ -#ifndef _XCMS_H_ +#if !defined(_X11_XCMS_H_) && !defined(_XCMS_H_) +#define _X11_XCMS_H_ #define _XCMS_H_ #include @@ -800,4 +801,4 @@ extern Visual *XcmsVisualOfCCC ( _XFUNCPROTOEND -#endif /* _XCMS_H_ */ +#endif /* !defined(_X11_XCMS_H_) && !defined(_XCMS_H_) */ -- cgit v1.2.3