aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-08-30 18:40:09 +0000
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-08-30 18:40:09 +0000
commit80d50191a3f235e9667a838873c16d547201ad46 (patch)
tree686839a22bdace41723bbe0e8e6cc6b3b1e9fa4f
parent499695595ee4386b90421b406edd2493cded0b36 (diff)
Move config.h include to start of file
svn path=/trunk/; revision=29634
-rw-r--r--capture-pcap-util-int.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/capture-pcap-util-int.h b/capture-pcap-util-int.h
index 80a60764e7..4ce311e646 100644
--- a/capture-pcap-util-int.h
+++ b/capture-pcap-util-int.h
@@ -25,11 +25,12 @@
#ifndef __PCAP_UTIL_INT_H__
#define __PCAP_UTIL_INT_H__
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#ifdef HAVE_LIBPCAP
#ifdef HAVE_PCAP_REMOTE
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif /* HAVE_CONFIG_H */
#include <pcap.h>
#endif /* HAVE_PCAP_REMOTE */