]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-auth-unistd-not-on-windows-20090316
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 16 Mar 2009 14:12:46 +0000 (14:12 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 16 Mar 2009 14:12:46 +0000 (14:12 +0000)
LICENSE IPL10

don't include unistd on windows

(cherry picked from commit 95d639b19452001835097fe4e0189efe5d8d08be)

src/auth/userok.c

index f0ad516199f6fe56e7a3adf455655082db03acb3..36e10349ee34c0932e425f37213b3d6dd1de45a1 100644 (file)
@@ -24,13 +24,13 @@ RCSID
 #include <sys/file.h>
 #include <netinet/in.h>
 #include <netdb.h>
+#include <unistd.h>
 #endif
 #include <sys/stat.h>
 #include <stdlib.h>            /* for realpath() */
 #include <errno.h>
 #include <string.h>
 #include <ctype.h>
-#include <unistd.h>
     
 #include <rx/xdr.h>
 #include <rx/rx.h>