Include config.h only when HAVE_CONFIG_H is defined.
authorfredrik@DOLDA2000.COM <fredrik@DOLDA2000.COM@959494ce-11ee-0310-bf91-de5d638817bd>
Mon, 23 May 2005 00:51:44 +0000 (00:51 +0000)
committerfredrik@DOLDA2000.COM <fredrik@DOLDA2000.COM@959494ce-11ee-0310-bf91-de5d638817bd>
Mon, 23 May 2005 00:51:44 +0000 (00:51 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/icmp-dn@250 959494ce-11ee-0310-bf91-de5d638817bd

src/nss-icmp.c

index dcad650..f22aa24 100644 (file)
@@ -33,7 +33,9 @@
 #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"