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

src/idnlookup.c

index bab502d..1727c4d 100644 (file)
@@ -31,7 +31,9 @@
 #include <sys/types.h>
 #include <sys/poll.h>
 #include <sys/time.h>
+#ifdef HAVE_CONFIG_H
 #include "config.h"
+#endif
 
 struct icmphdr {
     u_int8_t type;