Make peer headers build with C++ sources
[libeap.git] / src / eap_peer / eap_config.h
index b64b68f..cb381bc 100644 (file)
 #ifndef EAP_CONFIG_H
 #define EAP_CONFIG_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /**
  * struct eap_peer_config - EAP peer configuration/credentials
  */
@@ -666,4 +670,8 @@ struct wpa_config_blob {
        struct wpa_config_blob *next;
 };
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* EAP_CONFIG_H */