[Xfce4-commits] <thunar-vfs:master> Fix buildbot problem with environ.
Nick Schermer
noreply at xfce.org
Fri Nov 5 12:28:01 CET 2010
Updating branch refs/heads/master
to 31c853f8a867cfec85fbabf15c5d7f5aab9e8169 (commit)
from 97796b91b7c106f39a9e2d29b5f581de11fd0501 (commit)
commit 31c853f8a867cfec85fbabf15c5d7f5aab9e8169
Author: Nick Schermer <nick at xfce.org>
Date: Fri Nov 5 12:26:29 2010 +0100
Fix buildbot problem with environ.
configure.in.in | 3 ++-
thunar-vfs/thunar-vfs-exec.c | 6 ++++++
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/configure.in.in b/configure.in.in
index f3bc968..6a78cbf 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -107,7 +107,8 @@ AC_CHECK_HEADERS([ctype.h dirent.h errno.h fcntl.h fnmatch.h fstab.h grp.h \
string.h syslog.h sys/xattr.h sys/extattr.h sys/cdio.h \
sys/mman.h sys/mnttab.h sys/mount.h sys/param.h sys/resource.h \
sys/stat.h sys/statfs.h sys/statvfs.h sys/time.h sys/ucred.h \
- sys/uio.h sys/vfs.h sys/wait.h time.h wchar.h wctype.h])
+ sys/uio.h sys/vfs.h sys/wait.h time.h wchar.h wctype.h \
+ crt_externs.h unistd.h])
dnl ************************************
dnl *** Check for standard functions ***
diff --git a/thunar-vfs/thunar-vfs-exec.c b/thunar-vfs/thunar-vfs-exec.c
index 1ac4e7c..6ffb005 100644
--- a/thunar-vfs/thunar-vfs-exec.c
+++ b/thunar-vfs/thunar-vfs-exec.c
@@ -38,6 +38,12 @@
#ifdef HAVE_STRING_H
#include <string.h>
#endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+#ifdef HAVE_CRT_EXTERNS_H
+#include <crt_externs.h> /* for _NSGetEnviron */
+#endif
#include <thunar-vfs/thunar-vfs-exec.h>
#include <thunar-vfs/thunar-vfs-path-private.h>
More information about the Xfce4-commits
mailing list