summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Green <mrg@NetBSD.org>2015-07-20 10:22:43 +0200
committerThomas Klausner <wiz@NetBSD.org>2015-07-20 19:55:54 +0200
commit6d5aa481669cdbf2f0cb83bb0b8f142ba94307ae (patch)
treec5e42c618cf48202afb38f8e4d0e3a922c39575c
parent1e0d98566d01fb5da9836e1fc402fb28f8d8b499 (diff)
Properly hide config.h behind HAVE_CONFIG_H.
Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--handle.c3
1 files changed, 3 insertions, 0 deletions
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>