summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Klausner <wiz@NetBSD.org>2014-03-18 23:14:47 +0100
committerThomas Klausner <wiz@NetBSD.org>2014-03-19 19:33:36 +0100
commit399db42a151687f1181ae23d28a76d31125a2853 (patch)
treedca68352354e2cc77d7fd7bd39fcae47c2065a8e
parenteac564e0fc9052a39981ea47b271f7f3d2821944 (diff)
Only include config.h if it exists.
Reviewed-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
-rw-r--r--hash.c2
-rw-r--r--mkfontscale.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/hash.c b/hash.c
index 3adfb68..d834222 100644
--- a/hash.c
+++ b/hash.c
@@ -20,7 +20,9 @@
THE SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
#include <stdlib.h>
#include <stdio.h>
diff --git a/mkfontscale.c b/mkfontscale.c
index 265f913..036a0b4 100644
--- a/mkfontscale.c
+++ b/mkfontscale.c
@@ -20,7 +20,9 @@
THE SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
#include <stdio.h>
#include <stdlib.h>