Add 'extern "C"' wrappers and #include guards to various header files.
[obnox/wireshark/wip.git] / capture-wpcap.h
index c3b45ea2309a885a0bc926cda8f7c3eb3dc071c6..cfe23828d787189c168c578963eeab24c2846b2a 100644 (file)
 #ifndef CAPTURE_WPCAP_H
 #define CAPTURE_WPCAP_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
 extern gboolean has_wpcap;
 
 
 void
 load_wpcap(void);
 
-#endif
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* CAPTURE_WPCAP_H */