This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] Check for unistd.h in gdbserver/configure.in
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 24 Jul 2002 17:41:32 -0400
- Subject: Re: [PATCH] Check for unistd.h in gdbserver/configure.in
- References: <1020724213418.ZM5932@localhost.localdomain>
On Wed, Jul 24, 2002 at 02:34:18PM -0700, Kevin Buettner wrote:
> I was seeing some warnings while building gdbreplay.o which were due
> to the fact that unistd.h was not being included. I've just committed
> the (hopefully obvious) change below.
>
> * configure.in (unistd.h): Add to AC_CHECK_HEADERS list.
> * configure: Regenerate.
> * config.in: Regenerate.
>
> Index: configure.in
> ===================================================================
> RCS file: /cvs/src/src/gdb/gdbserver/configure.in,v
> retrieving revision 1.10
> diff -u -p -r1.10 configure.in
> --- configure.in 11 Jun 2002 17:32:39 -0000 1.10
> +++ configure.in 24 Jul 2002 21:26:30 -0000
> @@ -31,7 +31,7 @@ AC_PROG_INSTALL
> AC_HEADER_STDC
>
> AC_CHECK_HEADERS(sgtty.h termio.h termios.h sys/reg.h string.h dnl
> - proc_service.h sys/procfs.h thread_db.h linux/elf.h)
> + proc_service.h sys/procfs.h thread_db.h linux/elf.h unistd.h)
>
> . ${srcdir}/configure.srv
Thanks!
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer