delorie.com/archives/browse.cgi | search |
--bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Benny: > My docs say that wait() should be declared in <sys/wait.h>. On my > machine Cygwin has that header and it does indeed declare wait(). Doh. My linux box has a /usr/include/wait.h that just includes sys/wait.h. When I failed to find /usr/include/wait.h on my cygwin box, I looked no further. Indeed, there *is* a /usr/include/sys/wait.h in cygwin. For some reason, though, there is no /usr/include/wait.h, and that's what gdb wants. I created one, and now I'm building again. Who is right, do you think? Should gdb really be #including <sys/wait.h>, or should cygwin offer a /usr/include/wait.h? b.g. --=20 Bill Gatliff bgat AT open-widgets DOT com --bg08WKrSYDhXBjb5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.2 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE540CCBh0t1GoTfuIRAmPAAJ9yzowFWZW65EFygMxbyZZ0KmR6iACgyhhP IbNUZS3kaAtbDdYzmIWuL7M= =58xc -----END PGP SIGNATURE----- --bg08WKrSYDhXBjb5--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |