[PATCH:xkbcomp] Protect config.h like usual.

Thomas Klausner wiz at NetBSD.org
Sun Jun 2 13:22:36 PDT 2013


---
 utils.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/utils.h b/utils.h
index 417d104..b00067d 100644
--- a/utils.h
+++ b/utils.h
@@ -35,7 +35,9 @@
 #include	<X11/Xfuncs.h>
 
 #include <stddef.h>
+#ifdef HAVE_CONFIG_H
 #include "config.h"
+#endif
 
 #ifndef NUL
 #define	NUL	'\0'
-- 
1.8.2.3



More information about the xorg-devel mailing list