]> git.llucax.com Git - software/libev.git/blobdiff - ev.h
*** empty log message ***
[software/libev.git] / ev.h
diff --git a/ev.h b/ev.h
index a7898a5a1d2b1916b2a7f5e32193ebb3154aa9b4..1ffed6f96a86df9cac7e2b2756853c61b164f884 100644 (file)
--- a/ev.h
+++ b/ev.h
 #ifndef EV_H
 #define EV_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 typedef double ev_tstamp;
 
 /* eventmask, revents, events... */
@@ -245,5 +249,9 @@ void ev_child_start    (struct ev_child *w);
 void ev_child_stop     (struct ev_child *w);
 #endif
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif