summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/apr.hnw2
-rw-r--r--include/arch/netware/apr_private.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/apr.hnw b/include/apr.hnw
index ef4de26c1..580c0f53e 100644
--- a/include/apr.hnw
+++ b/include/apr.hnw
@@ -114,7 +114,7 @@ extern "C" {
#ifdef USE_WINSOCK
#define APR_HAVE_SYS_SOCKET_H 0
#define APR_HAVE_SYS_SOCKIO_H 0
-#define APR_HAVE_SYS_TIME_H 0
+#define APR_HAVE_SYS_TIME_H 1
#define APR_HAVE_SYS_UN_H 0
#else
#define APR_HAVE_SYS_SOCKET_H 1
diff --git a/include/arch/netware/apr_private.h b/include/arch/netware/apr_private.h
index f8e1ecf12..3cb4dd009 100644
--- a/include/arch/netware/apr_private.h
+++ b/include/arch/netware/apr_private.h
@@ -163,6 +163,7 @@ void* getStatCache();
and can be shared by the library. */
#undef malloc
#define malloc(x) library_malloc(gLibHandle,x)
+#define _alloca alloca
#if APR_HAS_LARGE_FILES
#define APR_OFF_T_STRFN strtoll