aboutsummaryrefslogtreecommitdiffstats
path: root/capture_wpcap_packet.h
diff options
context:
space:
mode:
Diffstat (limited to 'capture_wpcap_packet.h')
-rw-r--r--capture_wpcap_packet.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/capture_wpcap_packet.h b/capture_wpcap_packet.h
index 4aeb756c96..044547bfe2 100644
--- a/capture_wpcap_packet.h
+++ b/capture_wpcap_packet.h
@@ -25,6 +25,9 @@
#ifndef CAPTURE_WPCAP_PACKET_H
#define CAPTURE_WPCAP_PACKET_H
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
extern void wpcap_packet_load(void);
@@ -43,5 +46,8 @@ extern int wpcap_packet_request_uint(void *a, ULONG Oid, UINT *value);
extern int wpcap_packet_request_ulong(void *a, ULONG Oid, ULONG *value);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
#endif /* CAPTURE_WPCAP_PACKET_H */