Fix build on systems with getpwuid_r().

This commit is contained in:
matthieu 2008-06-21 17:49:12 +00:00
parent 932e098f54
commit bb20080d18

View File

@ -48,6 +48,9 @@
#include <X11/Xos.h> #include <X11/Xos.h>
#include "XpExtUtil.h" #include "XpExtUtil.h"
#include <limits.h> #include <limits.h>
#ifdef XTHREADS
#include <X11/Xthreads.h>
#endif
#ifndef WIN32 #ifndef WIN32
#define X_INCLUDE_PWD_H #define X_INCLUDE_PWD_H
#define XOS_USE_XLIB_LOCKING #define XOS_USE_XLIB_LOCKING