From 0a32e9daa454abfdeeda0329f8d665b3147e22cf Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 10 Jun 2005 13:56:08 +0000 Subject: * missing.h: fd_set stuffs need sys/types.h. fixed: [ruby-core:05179] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ missing.h | 3 +++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index b18332312a..eb4aa06c5f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Jun 10 22:54:18 2005 Nobuyoshi Nakada + + * missing.h: fd_set stuffs need sys/types.h. fixed: [ruby-core:05179] + Thu Jun 9 23:58:12 2005 Nobuyoshi Nakada * ext/Win32API/Win32API.c (Win32API_Call): disable global diff --git a/missing.h b/missing.h index ac499bd7d7..ecd357ef7d 100644 --- a/missing.h +++ b/missing.h @@ -21,6 +21,9 @@ struct timeval { time_t tv_usec; /* microseconds */ }; #endif +#if defined(HAVE_SYS_TYPES_H) +# include +#endif #ifndef HAVE_ACOSH extern double acosh _((double)); -- cgit v1.2.3