Make peer headers build with C++ sources
[libeap.git] / src / eap_common / eap_defs.h
index 3035301..482f9d2 100644 (file)
 #ifndef EAP_DEFS_H
 #define EAP_DEFS_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* RFC 3748 - Extensible Authentication Protocol (EAP) */
 
 #ifdef _MSC_VER
@@ -83,4 +87,8 @@ enum {
 #define EAP_MSK_LEN 64
 #define EAP_EMSK_LEN 64
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* EAP_DEFS_H */