This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

simple "make check" failure



After installing glibc on Linux, "make check" failed: gcc complained
that <wait.h> does not exist. Fix:


2000-07-12  Bruno Haible  <haible@clisp.cons.org>

	* Examples/ex8.c: Include <sys/wait.h>, not <wait.h>.

*** glibc-20000706/linuxthreads/Examples/ex8.c.bak	Mon May 29 00:13:47 2000
--- glibc-20000706/linuxthreads/Examples/ex8.c	Wed Jul 12 00:50:46 2000
***************
*** 22,28 ****
  #include <stdlib.h>
  #include <pthread.h>
  #include <unistd.h>
! #include <wait.h>
  
  enum
  {
--- 22,28 ----
  #include <stdlib.h>
  #include <pthread.h>
  #include <unistd.h>
! #include <sys/wait.h>
  
  enum
  {

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