summaryrefslogtreecommitdiff
path: root/capture_ifinfo.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2010-05-14 02:47:13 +0000
committerGuy Harris <guy@alum.mit.edu>2010-05-14 02:47:13 +0000
commite36628d2aab64145cd466b260943cabd5f550ad8 (patch)
tree95b4ba34a75a07637de459e86bc88b671fe9e356 /capture_ifinfo.h
parent8d56103f48aeb75e3a9be453eb15e03ece652890 (diff)
downloadwireshark-e36628d2aab64145cd466b260943cabd5f550ad8.tar.gz
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. svn path=/trunk/; revision=32803
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__ */