aboutsummaryrefslogtreecommitdiffstats
path: root/capture_errs.h
diff options
context:
space:
mode:
Diffstat (limited to 'capture_errs.h')
-rw-r--r--capture_errs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/capture_errs.h b/capture_errs.h
index 80c4c2c5aa..a9f2f51dde 100644
--- a/capture_errs.h
+++ b/capture_errs.h
@@ -23,7 +23,8 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#ifdef HAVE_LIBPCAP
+#ifndef __CAPTURE_ERRS_H__
+#define __CAPTURE_ERRS_H__
#ifdef _WIN32
/* error message, if WinPcap couldn't be loaded */
@@ -31,4 +32,4 @@
extern char *cant_load_winpcap_err(const char *app_name);
#endif /* _WIN32 */
-#endif /* HAVE_LIBPCAP */
+#endif /* __CAPTURE_ERRS_H__ */