summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2008-04-06 12:45:58 +0000
committerroot <root>2008-04-06 12:45:58 +0000
commit226209f9a7f9890de15359d7e50cad68fe45283b (patch)
treef542d9adc7825d6d5ff94761c711a67c3cef5830
parent1f9f0e0f301d679a06193e9ad40077f8e4f83773 (diff)
*** empty log message ***
-rw-r--r--ev.c6
1 files changed, 6 insertions, 0 deletions
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 <stdint.h>
+# ifdef __cplusplus
+extern "C" {
+# endif
int eventfd (unsigned int initval, int flags);
+# ifdef __cplusplus
+}
+# endif
#endif
/**/