[Mono-dev] [PATCH] Add include for fd_set

Andreas Färber andreas.faerber at web.de
Sun Mar 21 19:48:53 EDT 2010


Am 22.03.2010 um 00:42 schrieb Zoltan Varga:

> Looks ok.

Thanks, applied to trunk in r153962.

Andreas

>         Zoltan
>
> On Mon, Mar 22, 2010 at 12:30 AM, Andreas Färber <andreas.faerber at web.de 
> > wrote:
> 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  <andreas.faerber at web.de>
>
>        * debugger-agent.c: #include sys/select.h for fd_set.
>
> This commit is licensed under the MIT X11 license.
> ---
>  Hello,
>
>  Okay to commit? Fixes a compilation issue on Haiku.
>
>  Regards,
>  Andreas
>
>  mono/mini/ChangeLog        |    6 ++++++
>  mono/mini/debugger-agent.c |    3 +++
>  2 files changed, 9 insertions(+), 0 deletions(-)
>
> diff --git a/mono/mini/ChangeLog b/mono/mini/ChangeLog
> index 36865de..3107a48 100755
> --- a/mono/mini/ChangeLog
> +++ b/mono/mini/ChangeLog
> @@ -1,3 +1,9 @@
> +2010-03-21  Andreas Faerber  <andreas.faerber at web.de>
> +
> +       * debugger-agent.c: #include sys/select.h for fd_set.
> +
> +       Code is contributed under MIT/X11 license.
> +
>  2010-03-21  Zoltan Varga  <vargaz at gmail.com>
>
>        * 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 2b1567e..6bb41d9 100644
> --- a/mono/mini/debugger-agent.c
> +++ b/mono/mini/debugger-agent.c
> @@ -14,6 +14,9 @@
>  #ifdef HAVE_SYS_TYPES_H
>  #include <sys/types.h>
>  #endif
> +#ifdef HAVE_SYS_SELECT_H
> +#include <sys/select.h>
> +#endif
>  #ifdef HAVE_SYS_SOCKET_H
>  #include <sys/socket.h>
>  #endif
> --
> 1.7.0.14.g7e948
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100322/b9f58a24/attachment.html 


More information about the Mono-devel-list mailing list