summaryrefslogtreecommitdiff
path: root/lib/replace/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'lib/replace/wscript')
-rw-r--r--lib/replace/wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 4ca33fa93a..067b80edea 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -131,6 +131,9 @@ def configure(conf):
conf.CHECK_DECLS('snprintf vsnprintf asprintf vasprintf')
+ conf.CHECK_DECLS('dirfd environ errno getgrent_r getpwent_r', reverse=True)
+ conf.CHECK_DECLS('pread pwrite setenv setresgid setresuid', reverse=True)
+
conf.check_cc(fragment='''
#include <stdarg.h>
va_list ap1,ap2;