Include config.h only when HAVE_CONFIG_H is defined.
[icmp-dn.git] / src / nss-icmp.c
index 5bc5ec7..f22aa24 100644 (file)
 #include <sys/types.h>
 #include <fcntl.h>
 #include <sys/wait.h>
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 
+#ifndef        CONFIGFILE
 #define CONFIGFILE "/etc/nss-icmp.conf"
+#endif
+
 #if 0
 #define DEBUGP(format...) fprintf(stderr, "nss-icmp: " format);
 #else