summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 3 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 42232367..4b9d2718 100644
--- a/SConstruct
+++ b/SConstruct
@@ -463,6 +463,9 @@ if 1:
])
autoconf.haveFunc('getentropy', 'sys/random.h')
autoconf.haveFunc('getrandom', 'linux/random.h')
+ if re.compile("sunos|solaris").search(env['PLATFORM']):
+ autoconf.haveCHeader('priv.h')
+ autoconf.haveFunc('setpflags', 'priv.h')
autoconf.haveTypes(Split('pid_t size_t off_t'))