summaryrefslogtreecommitdiff
path: root/ev.h
diff options
context:
space:
mode:
Diffstat (limited to 'ev.h')
-rw-r--r--ev.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/ev.h b/ev.h
index bd023a7..d9f558a 100644
--- a/ev.h
+++ b/ev.h
@@ -66,8 +66,6 @@ typedef double ev_tstamp;
/*****************************************************************************/
-#include <stddef.h> /* for size_t */
-
#if EV_STAT_ENABLE
# include <sys/stat.h>
#endif
@@ -338,7 +336,7 @@ ev_tstamp ev_time (void);
* or take some potentially destructive action.
* The default is your system realloc function.
*/
-void ev_set_allocator (void *(*cb)(void *ptr, size_t size));
+void ev_set_allocator (void *(*cb)(void *ptr, long size));
/* set the callback function to call on a
* retryable syscall error