From: Pedro Alves <pedro@codesourcery.com>
To: gdb-patches@sourceware.org
Cc: Mark Kettenis <mark.kettenis@xs4all.nl>
Subject: Re: Patches to build on DJGPP
Date: Sun, 10 Aug 2008 17:49:00 -0000 [thread overview]
Message-ID: <200808101848.48133.pedro@codesourcery.com> (raw)
In-Reply-To: <200808101840.25872.pedro@codesourcery.com>
On Sunday 10 August 2008 18:40:25, Pedro Alves wrote:
> I just checked that this in gdb_select.h, and dropping the include <time.h>
> in posix-hdep.c buils fine in DJGPP.
>
> --- src.orig/gdb/gdb_select.h
> +++ src/gdb/gdb_select.h
> @@ -22,10 +22,8 @@
>
> #ifdef HAVE_SYS_SELECT_H
> #include <sys/select.h>
> -#endif
> -
> -#ifdef HAVE_SYS_TYPES_H
> -#include <sys/types.h>
> +#else
> +#include <sys/time.h>
> #endif
>
> We already include sys/time.h in common code without a HAVE_SYS...
> wrapper (event-loop.c), so I guess this is the best to do here?
Sorry, that diff was confusing -- is was a diff against the previous
diff.
What I meant was simply:
--- src.orig/gdb/gdb_select.h 2008-08-10 18:47:57.000000000 +0100
+++ src/gdb/gdb_select.h 2008-08-10 18:48:08.000000000 +0100
@@ -22,6 +22,8 @@
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
+#else
+#include <sys/time.h>
#endif
--
Pedro Alves
next prev parent reply other threads:[~2008-08-10 17:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-09 21:42 Pedro Alves
2008-08-10 0:10 ` Daniel Jacobowitz
2008-08-10 3:19 ` Eli Zaretskii
2008-08-10 20:47 ` Pedro Alves
2008-08-10 3:20 ` Eli Zaretskii
2008-08-10 8:33 ` Mark Kettenis
2008-08-10 19:38 ` Eli Zaretskii
2008-08-10 15:39 ` Mark Kettenis
2008-08-10 16:06 ` Daniel Jacobowitz
2008-08-10 17:41 ` Pedro Alves
2008-08-10 17:49 ` Pedro Alves [this message]
2008-08-10 18:29 ` Mark Kettenis
2008-08-10 18:44 ` Pedro Alves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200808101848.48133.pedro@codesourcery.com \
--to=pedro@codesourcery.com \
--cc=gdb-patches@sourceware.org \
--cc=mark.kettenis@xs4all.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox