From 8c372cf52216bf7827b7608354d4f976a4e8c9fb Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 7 Aug 1998 06:20:58 +0000 Subject: None of the header files for the packet capture library are suitable to include in a C++ file. PR: 7229 Reviewed by: phk Submitted by: Craig Spannring --- contrib/libpcap/pcap-int.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'contrib/libpcap/pcap-int.h') diff --git a/contrib/libpcap/pcap-int.h b/contrib/libpcap/pcap-int.h index 02bb3a8..1feda0b 100644 --- a/contrib/libpcap/pcap-int.h +++ b/contrib/libpcap/pcap-int.h @@ -36,6 +36,10 @@ #ifndef pcap_int_h #define pcap_int_h +#ifdef __cplusplus +extern "C" { +#endif + #include /* @@ -114,4 +118,9 @@ int pcap_read(pcap_t *, int cnt, pcap_handler, u_char *); /* XXX */ extern int pcap_fddipad; + +#ifdef __cplusplus +} +#endif + #endif -- cgit v1.1