add support for the SUA layer (interix; windows)
[gitweb.git] / daemon.c
index 7ccd097e1d1234d06316e8b7f271e86127750f85..de59f5d13944e7475586fcb5704ea6e7d2d1dd9d 100644 (file)
--- a/daemon.c
+++ b/daemon.c
 #define NI_MAXSERV 32
 #endif
 
+#ifdef NO_INITGROUPS
+#define initgroups(x, y) (0) /* nothing */
+#endif
+
 static int log_syslog;
 static int verbose;
 static int reuseaddr;