aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gen/gen-compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/gen-compat.h')
-rw-r--r--lib/libc/gen/gen-compat.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libc/gen/gen-compat.h b/lib/libc/gen/gen-compat.h
index 08e80ede6b6e..74678301af6f 100644
--- a/lib/libc/gen/gen-compat.h
+++ b/lib/libc/gen/gen-compat.h
@@ -52,4 +52,12 @@ int freebsd11_getmntinfo(struct freebsd11_statfs **, int);
char *freebsd11_devname(__uint32_t dev, __mode_t type);
char *freebsd11_devname_r(__uint32_t dev, __mode_t type, char *buf, int len);
+#define F14SG int freebsd14_setgroups(int gidsize, const __gid_t *gidset)
+#ifdef PIC
+static F14SG __attribute__((__weakref__("setgroups@FBSD_1.0")));
+#else
+F14SG;
+#endif
+#undef F14SG
+
#endif /* _GEN_COMPAT_H_ */