summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ev.c b/ev.c
index 3c4d5b4..2438696 100644
--- a/ev.c
+++ b/ev.c
@@ -270,6 +270,7 @@ extern "C" {
#if EV_USE_EVENTFD
/* our minimum requirement is glibc 2.7 which has the stub, but not the header */
+# include <stdint.h>
int eventfd (unsigned int initval, int flags);
#endif