Make peer headers build with C++ sources
[libeap.git] / src / eap_common / eap_wsc_common.h
index fdf61d3..2d88b5a 100644 (file)
 #ifndef EAP_WSC_COMMON_H
 #define EAP_WSC_COMMON_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #define EAP_VENDOR_TYPE_WSC 1
 
 #define WSC_FLAGS_MF 0x01
@@ -30,4 +34,8 @@
 
 struct wpabuf * eap_wsc_build_frag_ack(u8 id, u8 code);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* EAP_WSC_COMMON_H */