From 226209f9a7f9890de15359d7e50cad68fe45283b Mon Sep 17 00:00:00 2001 From: root Date: Sun, 6 Apr 2008 12:45:58 +0000 Subject: *** empty log message *** --- ev.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ev.c b/ev.c index 2438696..41fab78 100644 --- a/ev.c +++ b/ev.c @@ -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 +# ifdef __cplusplus +extern "C" { +# endif int eventfd (unsigned int initval, int flags); +# ifdef __cplusplus +} +# endif #endif /**/ -- cgit v1.2.3