first pass at updating head branch to be to be the same as the SAMBA_2_0 branch
[samba.git] / source / tests / getgroups.c
index 37990e010b8db159953ab1fac680bc946aee8127..343fd5a184f908e0c3d5686f249f76e4de674533 100644 (file)
@@ -7,6 +7,10 @@
    array of ints! Ultrix is one culprit
   */
 
+#if defined(HAVE_UNISTD_H)
+#include <unistd.h>
+#endif
+
 #include <sys/types.h>
 #include <stdio.h>
 #include <unistd.h>