summaryrefslogtreecommitdiff
path: root/ev.h
diff options
context:
space:
mode:
authorroot <root>2007-11-27 19:41:52 +0000
committerroot <root>2007-11-27 19:41:52 +0000
commit40ea26d7fa3e9214a7da4bb1280515948e1a1568 (patch)
tree8a8eb247a9f5f13698028693da7822f1855911c4 /ev.h
parent6800c1e86d28e4bc573747e6d327c770b2e00df4 (diff)
I ❤ µ-opts
Diffstat (limited to 'ev.h')
-rw-r--r--ev.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ev.h b/ev.h
index 26ffe78..db79520 100644
--- a/ev.h
+++ b/ev.h
@@ -66,6 +66,8 @@ typedef double ev_tstamp;
/*****************************************************************************/
+#include <stddef.h> /* for size_t */
+
#if EV_STAT_ENABLE
# include <sys/stat.h>
#endif
@@ -334,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, long size));
+void ev_set_allocator (void *(*cb)(void *ptr, size_t size));
/* set the callback function to call on a
* retryable syscall error