diff options
author | Jeff Trawick <trawick@apache.org> | 2011-03-22 19:32:14 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2011-03-22 19:32:14 +0000 |
commit | 8f61f988daf0f22ea434d2778c07204f566c6b5e (patch) | |
tree | 617a90dd33feaad21cc2223e9a6bfc1261c28dcc /time | |
parent | 000f58aaff484fcd234201bc66a2758d6510a7ab (diff) | |
download | apr-8f61f988daf0f22ea434d2778c07204f566c6b5e.tar.gz |
grab some Windows/MinGW code tweaks from trunk for quieter gcc builds
time/win32/timestr.c: all of r892188
include/arch/win32/apr_arch_file_io.h: part of r892386
misc/win32/rand.c: all of r892426
misc/win32/misc.c: part of r892177
misc/win32/internal.c: all of r892390
poll/unix/pollset.c: part of r892386
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1084310 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'time')
-rw-r--r-- | time/win32/timestr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/time/win32/timestr.c b/time/win32/timestr.c index fc9130bc6..138412352 100644 --- a/time/win32/timestr.c +++ b/time/win32/timestr.c @@ -18,6 +18,10 @@ #include "apr_portable.h" #include "apr_strings.h" +#if APR_HAVE_STDLIB_H +#include <stdlib.h> +#endif + APR_DECLARE_DATA const char apr_month_snames[12][4] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" |