Include "config.h" if `HAVE_CONFIG_H' is defined.
authorMORIOKA Tomohiko <tomo.git@chise.org>
Mon, 1 Apr 2013 05:41:04 +0000 (14:41 +0900)
committerMORIOKA Tomohiko <tomo.git@chise.org>
Mon, 1 Apr 2013 05:41:04 +0000 (14:41 +0900)
sysdep.h

index b28010a..202ed26 100644 (file)
--- a/sysdep.h
+++ b/sysdep.h
@@ -2,6 +2,9 @@
 #define _CHISE_SYSDEP_H
 
 #include <string.h>
+#ifdef HAVE_CONFIG_H
+#  include "config.h"
+#endif
 
 #ifndef HAVE_STRNLEN
 /* original in mysql, strings/strnlen.c.