From e36628d2aab64145cd466b260943cabd5f550ad8 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 14 May 2010 02:47:13 +0000 Subject: 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 --- ringbuffer.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'ringbuffer.h') 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 #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 */ -- cgit v1.2.1