git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
6e569d2
)
auth-unistd-not-on-windows-20090316
author
Jeffrey Altman
<jaltman@secure-endpoints.com>
Mon, 16 Mar 2009 14:12:37 +0000 (14:12 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Mon, 16 Mar 2009 14:12:37 +0000 (14:12 +0000)
LICENSE IPL10
don't include unistd on windows
src/auth/userok.c
patch
|
blob
|
history
diff --git
a/src/auth/userok.c
b/src/auth/userok.c
index
f0ad516
..
36e1034
100644
(file)
--- a/
src/auth/userok.c
+++ b/
src/auth/userok.c
@@
-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>