summaryrefslogtreecommitdiffstats
path: root/modules/mappers/mod_userdir.c
diff options
context:
space:
mode:
authorBill Stoddard <stoddard@apache.org>2000-01-19 02:33:16 +0100
committerBill Stoddard <stoddard@apache.org>2000-01-19 02:33:16 +0100
commit82e85ab32f33e67336a0dfc7951f273a3902e43b (patch)
treebde524355e98759c79ff2fd796f6ed3230da3e4e /modules/mappers/mod_userdir.c
parentFix compile break on Windows and update to use ap_stat() (diff)
downloadapache2-82e85ab32f33e67336a0dfc7951f273a3902e43b.tar.xz
apache2-82e85ab32f33e67336a0dfc7951f273a3902e43b.zip
Fix Windows compile break. Gotta find a better way to fix this.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84495 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/mappers/mod_userdir.c')
-rw-r--r--modules/mappers/mod_userdir.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/mappers/mod_userdir.c b/modules/mappers/mod_userdir.c
index fc95b3715f..1880406a4b 100644
--- a/modules/mappers/mod_userdir.c
+++ b/modules/mappers/mod_userdir.c
@@ -93,7 +93,9 @@
#include "httpd.h"
#include "http_config.h"
#include "http_request.h"
+#ifndef WIN32
#include <pwd.h>
+#endif
/* The default directory in user's home dir */
#ifndef DEFAULT_USER_DIR