summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/compat.c b/common/compat.c
index 2e559c7..1153f95 100644
--- a/common/compat.c
+++ b/common/compat.c
@@ -805,7 +805,7 @@ getauxval (unsigned long type)
extern int __libc_enable_secure;
secure = __libc_enable_secure;
-#elif defined(HAVE_ISSETUGID)
+#elif defined(HAVE_ISSETUGID) && defined(HAVE_ISSETUGID_OPENBSD)
secure = issetugid ();
#elif defined(OS_UNIX)