summaryrefslogtreecommitdiff
path: root/time/win32
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2002-02-12 21:59:01 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2002-02-12 21:59:01 +0000
commit1705c54139acbdb170ea8d0aaea9fa01118285a6 (patch)
tree364f0b98df34e61da373da2f8213185b25fe3325 /time/win32
parent83c262d24e0a82589890e291d2eae9f8aa4716ff (diff)
downloadapr-1705c54139acbdb170ea8d0aaea9fa01118285a6.tar.gz
More safe header exclusions from Mladen Turk <mturk@mappingsoft.com>
for the WinCE port. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62968 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'time/win32')
-rw-r--r--time/win32/time.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/time/win32/time.c b/time/win32/time.c
index 5f3d5da5f..9d46ecccf 100644
--- a/time/win32/time.c
+++ b/time/win32/time.c
@@ -57,8 +57,12 @@
#include "apr_general.h"
#include "apr_lib.h"
#include "apr_portable.h"
+#if APR_HAVE_TIME_H
#include <time.h>
+#endif
+#if APR_HAVE_ERRNO_H
#include <errno.h>
+#endif
#include <string.h>
#include <winbase.h>