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/Xregion.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'nx-X11/lib/X11/Xregion.h') diff --git a/nx-X11/lib/X11/Xregion.h b/nx-X11/lib/X11/Xregion.h index f555a8dd9..40bc3a75e 100644 --- a/nx-X11/lib/X11/Xregion.h +++ b/nx-X11/lib/X11/Xregion.h @@ -45,7 +45,8 @@ SOFTWARE. ************************************************************************/ -#ifndef _XREGION_H +#if !defined(_X11_XREGION_H_) && !defined(_XREGION_H) +#define _X11_XREGION_H_ #define _XREGION_H typedef struct { @@ -186,4 +187,4 @@ typedef struct _POINTBLOCK { struct _POINTBLOCK *next; } POINTBLOCK; -#endif +#endif /* !defined(_X11_XREGION_H_) && !defined(_XREGION_H) */ -- cgit v1.2.3