summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2008-06-21 17:49:13 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2008-06-21 17:49:13 +0000
commit2be85d753fcc311952d650e6b94d6e6c98e955ac (patch)
treeae9dc57097d3c36643ca8e2dac51e83905a76efa /lib
parentc957f20ea8dbcf08fe71b7a881854ce8b9bc17dd (diff)
Fix build on systems with getpwuid_r().
Diffstat (limited to 'lib')
-rw-r--r--lib/libXp/src/XpJob.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libXp/src/XpJob.c b/lib/libXp/src/XpJob.c
index 1ad7e306a..5909ed5b4 100644
--- a/lib/libXp/src/XpJob.c
+++ b/lib/libXp/src/XpJob.c
@@ -48,6 +48,9 @@
#include <X11/Xos.h>
#include "XpExtUtil.h"
#include <limits.h>
+#ifdef XTHREADS
+#include <X11/Xthreads.h>
+#endif
#ifndef WIN32
#define X_INCLUDE_PWD_H
#define XOS_USE_XLIB_LOCKING