Commit ff4525ce authored by Steven Edwards's avatar Steven Edwards Committed by Alexandre Julliard

Added check for pwd.h.

parent 97a003fc
......@@ -11160,6 +11160,7 @@ done
for ac_header in \
arpa/inet.h \
arpa/nameser.h \
......@@ -11186,6 +11187,7 @@ for ac_header in \
netinet/ip.h \
netinet/tcp.h \
pty.h \
pwd.h \
resolv.h \
sched.h \
scsi/sg.h \
......
......@@ -907,6 +907,7 @@ AC_CHECK_HEADERS(\
netinet/ip.h \
netinet/tcp.h \
pty.h \
pwd.h \
resolv.h \
sched.h \
scsi/sg.h \
......
......@@ -344,6 +344,9 @@
/* Define to 1 if you have the <pty.h> header file. */
#undef HAVE_PTY_H
/* Define to 1 if you have the <pwd.h> header file. */
#undef HAVE_PWD_H
/* Define to 1 if you have the `pwrite' function. */
#undef HAVE_PWRITE
......
......@@ -22,7 +22,6 @@
#include "wine/port.h"
#include <errno.h>
#include <pwd.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
......@@ -30,6 +29,10 @@
#include <sys/stat.h>
#include <unistd.h>
#ifdef HAVE_PWD_H
#include <pwd.h>
#endif
static const char * const server_config_dir = "/.wine"; /* config dir relative to $HOME */
static const char * const server_root_prefix = "/tmp/.wine-"; /* prefix for server root dir */
static const char * const server_dir_prefix = "/server-"; /* prefix for server dir */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment