Updates to try to fix undefined symbol errors
[mech_eap.git] / libeap / src / utils / eloop.h
index 07b8c0d..00233a0 100644 (file)
 #ifndef ELOOP_H
 #define ELOOP_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
 /**
  * ELOOP_ALL_CTX - eloop_cancel_timeout() magic number to match all timeouts
  */
@@ -356,4 +361,8 @@ int eloop_terminated(void);
  */
 void eloop_wait_for_read_sock(int sock);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* ELOOP_H */