diff options
Diffstat (limited to 'ev.h')
-rw-r--r-- | ev.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -30,6 +30,10 @@ #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 |