summaryrefslogtreecommitdiff
path: root/nptl/pthread_setresgid.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/pthread_setresgid.c')
-rw-r--r--nptl/pthread_setresgid.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/nptl/pthread_setresgid.c b/nptl/pthread_setresgid.c
index 369fae2672..46c5904c1a 100644
--- a/nptl/pthread_setresgid.c
+++ b/nptl/pthread_setresgid.c
@@ -1,3 +1,9 @@
+#include <pthreadP.h>
+#ifndef NO_SETXID_SUPPORT
#define SINGLE_THREAD
#define __setresgid pthread_setresgid_np
#include <setresgid.c>
+#else /* NO_SETXID_SUPPORT */
+stub_warning (pthread_setresgid_np)
+#include <stub-tag.h>
+#endif /* NO_SETXID_SUPPORT */