hash, mgetgroups: drop xalloc dependency
[gnulib.git] / lib / mgetgroups.h
index a1fd040..7a572bc 100644 (file)
@@ -17,4 +17,6 @@
 #include <sys/types.h>
 
 int mgetgroups (const char *username, gid_t gid, gid_t **groups);
+#if GNULIB_XGETGROUPS
 int xgetgroups (const char *username, gid_t gid, gid_t **groups);
+#endif