Make peer headers build with C++ sources
[libeap.git] / src / eap_common / eap_peap_common.h
index f59afb0..b67de7e 100644 (file)
 #ifndef EAP_PEAP_COMMON_H
 #define EAP_PEAP_COMMON_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 void peap_prfplus(int version, const u8 *key, size_t key_len,
                  const char *label, const u8 *seed, size_t seed_len,
                  u8 *buf, size_t buf_len);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* EAP_PEAP_COMMON_H */