aboutsummaryrefslogtreecommitdiffstats
path: root/capture_ifinfo.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2010-05-14 02:47:13 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2010-05-14 02:47:13 +0000
commitcf9d5c67c1579b57726d90459f27536ad061cba2 (patch)
tree95b4ba34a75a07637de459e86bc88b671fe9e356 /capture_ifinfo.h
parentd45e0d9bdcce3974002feafea24624e81eecac59 (diff)
If something is only supposed to be included if we have libpcap, don't
put #ifdef HAVE_LIBPCAP in it. Add multiple-inclusion protection to capture_errs.h. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32803 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture_ifinfo.h')
-rw-r--r--capture_ifinfo.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/capture_ifinfo.h b/capture_ifinfo.h
index e0cec1db7f..31414c74ae 100644
--- a/capture_ifinfo.h
+++ b/capture_ifinfo.h
@@ -25,8 +25,6 @@
#ifndef __CAPTURE_IFINFO_H__
#define __CAPTURE_IFINFO_H__
-#ifdef HAVE_LIBPCAP
-
/*
* The list of interfaces returned by "get_interface_list()" is
* a list of these structures.
@@ -94,6 +92,4 @@ capture_get_if_capabilities(const char *devname, gboolean monitor_mode,
void free_if_capabilities(if_capabilities_t *caps);
-#endif /* HAVE_LIBPCAP */
-
#endif /* __CAPTURE_IFINFO_H__ */