From: Tom Yu Date: Mon, 5 Mar 2001 08:07:10 +0000 (+0000) Subject: * init_os_ctx.c: Get sys/ioctl.h for Solaris to get FIONBIO X-Git-Tag: krb5-1.3-alpha1~1645 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=aa0f70e06886e6058e79dfc622823f6f5b201aa1;p=krb5.git * init_os_ctx.c: Get sys/ioctl.h for Solaris to get FIONBIO git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13053 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index 9fcc89b73..6dcd9a462 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,7 @@ +2001-03-05 Tom Yu + + * init_os_ctx.c: Get sys/ioctl.h for Solaris to get FIONBIO. + 2001-03-03 Ken Raeburn * init_os_ctx.c: If not Mac or Windows, define USE_RANDOM_DEVICE diff --git a/src/lib/krb5/os/init_os_ctx.c b/src/lib/krb5/os/init_os_ctx.c index 076c16ae4..676c46d29 100644 --- a/src/lib/krb5/os/init_os_ctx.c +++ b/src/lib/krb5/os/init_os_ctx.c @@ -36,6 +36,9 @@ #if !defined(macintosh) && !defined(_MSDOS) && !defined(_WIN32) #define USE_RANDOM_DEVICE #include /* for FIONBIO */ +#ifdef HAVE_SYS_FILIO_H +#include /* Solaris needs this */ +#endif #endif #if defined(_MSDOS) || defined(_WIN32)