This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
event-loop.h and sys/wait.h
- To: "Philippe De Muyter" <phdm@macqel.be>
- Subject: event-loop.h and sys/wait.h
- From: Elena Zannoni <ezannoni@cygnus.com>
- Date: Tue, 18 May 1999 11:54:15 -0400 (EDT)
- Cc: gdb-patches@cygnus.com (gdb-patches@sourceware.cygnus.com)
- References: <199905142218.AAA24360@mail.macqel.be>
Philippe De Muyter writes:
>
> Sat May 15 00:19:49 1999 Philippe De Muyter <phdm@macqel.be>
>
> * event-loop.h (sys/wait.h): Include sys/wait.h only if HAVE_SYS_WAIT_H.
>
> --- ./gdb/event-loop.h Fri May 14 23:41:27 1999
> +++ ./gdb/event-loop.h Thu May 13 02:40:33 1999
> @@ -24,7 +24,9 @@
> #include <signal.h>
> #include <unistd.h>
> #include <fcntl.h>
> +#ifdef HAVE_SYS_WAIT_H
> #include <sys/wait.h>
> +#endif
> #include "defs.h"
>
> /* An event loop listens for events from multiple event sources. When
>
Philippe,
Thanks for the patch. It has been applied to the main repository.
Elena Zannoni
Cygnus Solutions