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:40 +0000 (00:51 +0000)
committerfredrik@DOLDA2000.COM <fredrik@DOLDA2000.COM@959494ce-11ee-0310-bf91-de5d638817bd>
Mon, 23 May 2005 00:51:40 +0000 (00:51 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/icmp-dn@248 959494ce-11ee-0310-bf91-de5d638817bd

src/icmpdnd.c

index 910d1a5..c0ef851 100644 (file)
@@ -29,7 +29,9 @@
 #include <arpa/inet.h>
 #include <netinet/ip.h>
 #include <sys/types.h>
+#ifdef HAVE_CONFIG_H
 #include "config.h"
+#endif
 
 struct icmphdr {
     u_int8_t type;