simple "make check" failure

Bruno Haible haible@ilog.fr
Wed Jul 12 10:23:00 GMT 2000


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
  {


More information about the Libc-alpha mailing list