From: Jeffrey Altman Date: Fri, 24 Aug 2007 13:53:46 +0000 (+0000) Subject: no unistd.h on Windows X-Git-Tag: krb5-1.7-alpha1~947 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b960e697d8344407cae031bc74cf64b0e0adc467;p=krb5.git no unistd.h on Windows 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 --- diff --git a/src/lib/gssapi/generic/util_errmap.c b/src/lib/gssapi/generic/util_errmap.c index 24975cc45..6f7f17091 100644 --- a/src/lib/gssapi/generic/util_errmap.c +++ b/src/lib/gssapi/generic/util_errmap.c @@ -1,6 +1,8 @@ #include "gssapiP_generic.h" #include +#ifndef _WIN32 #include +#endif /* The mapping table is 0-based, but let's export codes that are 1-based, keeping 0 for errors or unknown errors.