diff options
Diffstat (limited to 'ev.c')
-rw-r--r-- | ev.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -271,7 +271,13 @@ extern "C" { #if EV_USE_EVENTFD /* our minimum requirement is glibc 2.7 which has the stub, but not the header */ # include <stdint.h> +# ifdef __cplusplus +extern "C" { +# endif int eventfd (unsigned int initval, int flags); +# ifdef __cplusplus +} +# endif #endif /**/ |