[PATCH:xmodmap] Properly hide config.h behind HAVE_CONFIG_H.

Thomas Klausner wiz at NetBSD.org
Mon Jul 20 01:23:07 PDT 2015


From: Matthew Green <mrg at NetBSD.org>

Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
---
 handle.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/handle.c b/handle.c
index 00c95a6..02a5f41 100644
--- a/handle.c
+++ b/handle.c
@@ -26,7 +26,10 @@ from The Open Group.
 
 */
 
+#ifdef HAVE_CONFIG_H
 #include "config.h"
+#endif
+
 #include <X11/Xos.h>
 #include <X11/Xlib.h>
 #include <stdio.h>
-- 
2.4.6



More information about the xorg-devel mailing list