From: baalberith Date: Tue, 14 Oct 2008 10:59:19 +0000 (+0000) Subject: accepted ticket [1859455]: should be included explicitly X-Git-Tag: v5.4~8 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mod_auth_kerb.cvs%2F.git;a=commitdiff_plain;h=65e8f97d5637a774758ba183324d360c7adeda23 accepted ticket [1859455]: should be included explicitly --- diff --git a/config.h.in b/config.h.in index 8f09067..ca90d99 100644 --- a/config.h.in +++ b/config.h.in @@ -21,3 +21,8 @@ /* Define if your krb supports krb5_cc_new_unique function to deal with threading issues */ #undef HAVE_KRB5_CC_NEW_UNIQUE +/* Define to 1 if you have the header file. */ +#undef HAVE_UNISTD_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TYPES_H diff --git a/spnegokrb5/spnegokrb5_locl.h b/spnegokrb5/spnegokrb5_locl.h index a4d1d44..5b20bc7 100644 --- a/spnegokrb5/spnegokrb5_locl.h +++ b/spnegokrb5/spnegokrb5_locl.h @@ -4,6 +4,10 @@ #include "config.h" +#if HAVE_SYS_TYPES_H +#include +#endif + #ifdef HEIMDAL # include #else diff --git a/src/mod_auth_kerb.c b/src/mod_auth_kerb.c index 8801f8d..237a371 100644 --- a/src/mod_auth_kerb.c +++ b/src/mod_auth_kerb.c @@ -113,8 +113,7 @@ #include /* gethostbyname() */ #endif /* KRB4 */ -#ifndef _WIN32 -/* should be HAVE_UNISTD_H instead */ +#if HAVE_UNISTD_H #include #endif