unistd.h is posix only
authorKen Raeburn <raeburn@mit.edu>
Wed, 11 Feb 2009 00:15:55 +0000 (00:15 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 11 Feb 2009 00:15:55 +0000 (00:15 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21955 dc483132-0cff-0310-8789-dd5450dbe970

src/include/k5-buf.h

index 4f7a939a907b7efeee76127e1522f9056251f5b9..5f7936fd5befe7ef5bc46524e8c89ef2fb6fddb3 100644 (file)
@@ -41,7 +41,9 @@
 
 #include <stdarg.h>
 #include <string.h>
+#ifndef _WIN32
 #include <unistd.h>
+#endif
 
 /* The k5buf module is intended to allow multi-step string
    construction in a fixed or dynamic buffer without the need to check