summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--process.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/process.c b/process.c
index 004a35141d..5fa1b9510b 100644
--- a/process.c
+++ b/process.c
@@ -91,6 +91,11 @@ static VALUE S_Tms;
#define HAVE_44BSD_SETGID 1
#endif
+#ifdef __NetBSD__
+#undef HAVE_SETRUID
+#undef HAVE_SETRGID
+#endif
+
#if defined(__MacOS_X__) || defined(__bsdi__)
#define BROKEN_SETREUID 1
#define BROKEN_SETREGID 1