From f4e328f91b889c0ac3e9875633c25cb6c37a2418 Mon Sep 17 00:00:00 2001 From: afaerber Date: Sun, 21 Mar 2010 23:47:12 +0000 Subject: [PATCH] Add include for fd_set According to POSIX, fd_set is defined in sys/select.h. http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_select.h.html 2010-03-21 Andreas Faerber * debugger-agent.c: #include sys/select.h for fd_set. This commit is licensed under the MIT X11 license. git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mono@153962 e3ebcda4-bce8-0310-ba0a-eca2169e7518 --- mono/mini/ChangeLog | 6 ++++++ mono/mini/debugger-agent.c | 3 +++ 2 files changed, 9 insertions(+) diff --git a/mono/mini/ChangeLog b/mono/mini/ChangeLog index 36865de5a..3107a484b 100755 --- a/mono/mini/ChangeLog +++ b/mono/mini/ChangeLog @@ -1,3 +1,9 @@ +2010-03-21 Andreas Faerber + + * debugger-agent.c: #include sys/select.h for fd_set. + + Code is contributed under MIT/X11 license. + 2010-03-21 Zoltan Varga * mini.c (SIG_HANDLER_SIGNATURE): Fix the build on platforms without sigaction diff --git a/mono/mini/debugger-agent.c b/mono/mini/debugger-agent.c index 2b1567e1f..6bb41d993 100644 --- a/mono/mini/debugger-agent.c +++ b/mono/mini/debugger-agent.c @@ -14,6 +14,9 @@ #ifdef HAVE_SYS_TYPES_H #include #endif +#ifdef HAVE_SYS_SELECT_H +#include +#endif #ifdef HAVE_SYS_SOCKET_H #include #endif -- 2.11.4.GIT