This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Has anyone compiled gdb from CVS on Linux?


Eric Christopher wrote:
> 
> The define is in the config.h file that gdb_wait.h needs to include
> <sys/wait.h>.  It doesn't seem to be included either in linux-thread.c
> or gdb_wait.h.  I'm guessing it should
> be?
> 
> from gdb/config.h:
> 
> /* Define if you have the <sys/wait.h> header file.  */
> #define HAVE_SYS_WAIT_H 1
> 
> and gdb/gdb_wait.h
> 
> /#ifdef HAVE_SYS_WAIT_H
> #include <sys/wait.h> /* POSIX */
> #else
> #ifdef HAVE_WAIT_H
> #include <wait.h> /* legacy */
> #endif
> #endif

FYI, This should have been fixed.

	Andrew

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]