diff options
author | phk <phk@FreeBSD.org> | 1998-08-07 06:20:58 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1998-08-07 06:20:58 +0000 |
commit | 8c372cf52216bf7827b7608354d4f976a4e8c9fb (patch) | |
tree | 0d62d5b756485460f489a219f50d7e7a2fddfe3a /contrib/libpcap/pcap-int.h | |
parent | cf87bd045cafe9d7015d858a8902363d9444f6b0 (diff) | |
download | FreeBSD-src-8c372cf52216bf7827b7608354d4f976a4e8c9fb.zip FreeBSD-src-8c372cf52216bf7827b7608354d4f976a4e8c9fb.tar.gz |
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 <cts@internetcds.com>
Diffstat (limited to 'contrib/libpcap/pcap-int.h')
-rw-r--r-- | contrib/libpcap/pcap-int.h | 9 |
1 files changed, 9 insertions, 0 deletions
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 <pcap.h> /* @@ -114,4 +118,9 @@ int pcap_read(pcap_t *, int cnt, pcap_handler, u_char *); /* XXX */ extern int pcap_fddipad; + +#ifdef __cplusplus +} +#endif + #endif |