aboutsummaryrefslogtreecommitdiffstats
path: root/ringbuffer.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 /ringbuffer.h
parent8d56103f48aeb75e3a9be453eb15e03ece652890 (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. svn path=/trunk/; revision=32803
Diffstat (limited to 'ringbuffer.h')
-rw-r--r--ringbuffer.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/ringbuffer.h b/ringbuffer.h
index a0c3cc6a8a..b4ef7a42f1 100644
--- a/ringbuffer.h
+++ b/ringbuffer.h
@@ -25,8 +25,6 @@
#ifndef __RINGBUFFER_H__
#define __RINGBUFFER_H__
-#ifdef HAVE_LIBPCAP
-
#include <stdio.h>
#include "file.h"
#include "wiretap/wtap.h"
@@ -47,6 +45,4 @@ gboolean ringbuf_libpcap_dump_close(gchar **save_file, int *err);
void ringbuf_free(void);
void ringbuf_error_cleanup(void);
-#endif /* HAVE_LIBPCAP */
-
#endif /* ringbuffer.h */