no unistd.h on Windows
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 24 Aug 2007 13:53:46 +0000 (13:53 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 24 Aug 2007 13:53:46 +0000 (13:53 +0000)
do not include unistd.h on Windows because it doesn't exist

ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19851 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/gssapi/generic/util_errmap.c

index 24975cc455e87426192f3d8a651fb8066aac4c67..6f7f1709161426050dab4f9887ab45d5cb19775c 100644 (file)
@@ -1,6 +1,8 @@
 #include "gssapiP_generic.h"
 #include <string.h>
+#ifndef _WIN32
 #include <unistd.h>
+#endif
 
 /* The mapping table is 0-based, but let's export codes that are
    1-based, keeping 0 for errors or unknown errors.