summaryrefslogtreecommitdiff
path: root/nptl/pthread_setregid.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/pthread_setregid.c')
-rw-r--r--nptl/pthread_setregid.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/nptl/pthread_setregid.c b/nptl/pthread_setregid.c
index 7461d2b7fd..eb4b3f89b9 100644
--- a/nptl/pthread_setregid.c
+++ b/nptl/pthread_setregid.c
@@ -1,3 +1,9 @@
+#include <pthreadP.h>
+#ifndef NO_SETXID_SUPPORT
#define SINGLE_THREAD
#define __setregid pthread_setregid_np
#include <setregid.c>
+#else /* NO_SETXID_SUPPORT */
+stub_warning (pthread_setreuid_np)
+#include <stub-tag.h>
+#endif /* NO_SETXID_SUPPORT */