[PATCH] Check for unistd.h in gdbserver/configure.in

Daniel Jacobowitz drow@mvista.com
Wed Jul 24 14:53:00 GMT 2002


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



More information about the Gdb-patches mailing list