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 ...@@ -11160,6 +11160,7 @@ done
for ac_header in \ for ac_header in \
arpa/inet.h \ arpa/inet.h \
arpa/nameser.h \ arpa/nameser.h \
...@@ -11186,6 +11187,7 @@ for ac_header in \ ...@@ -11186,6 +11187,7 @@ for ac_header in \
netinet/ip.h \ netinet/ip.h \
netinet/tcp.h \ netinet/tcp.h \
pty.h \ pty.h \
pwd.h \
resolv.h \ resolv.h \
sched.h \ sched.h \
scsi/sg.h \ scsi/sg.h \
......
...@@ -907,6 +907,7 @@ AC_CHECK_HEADERS(\ ...@@ -907,6 +907,7 @@ AC_CHECK_HEADERS(\
netinet/ip.h \ netinet/ip.h \
netinet/tcp.h \ netinet/tcp.h \
pty.h \ pty.h \
pwd.h \
resolv.h \ resolv.h \
sched.h \ sched.h \
scsi/sg.h \ scsi/sg.h \
......
...@@ -344,6 +344,9 @@ ...@@ -344,6 +344,9 @@
/* Define to 1 if you have the <pty.h> header file. */ /* Define to 1 if you have the <pty.h> header file. */
#undef HAVE_PTY_H #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. */ /* Define to 1 if you have the `pwrite' function. */
#undef HAVE_PWRITE #undef HAVE_PWRITE
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include "wine/port.h" #include "wine/port.h"
#include <errno.h> #include <errno.h>
#include <pwd.h>
#include <stdio.h> #include <stdio.h>
#include <stdarg.h> #include <stdarg.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -30,6 +29,10 @@ ...@@ -30,6 +29,10 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.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_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_root_prefix = "/tmp/.wine-"; /* prefix for server root dir */
static const char * const server_dir_prefix = "/server-"; /* prefix for server 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