From 40ea26d7fa3e9214a7da4bb1280515948e1a1568 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 27 Nov 2007 19:41:52 +0000 Subject: =?UTF-8?q?I=20=E2=9D=A4=20=C2=B5-opts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ev.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ev.h') 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 /* for size_t */ + #if EV_STAT_ENABLE # include #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 -- cgit v1.2.3