* src/TestOperations.cc: Include sys/wait.h.

This commit is contained in:
Alexandre Duret-Lutz 2004-01-16 16:04:04 +00:00
parent 7c1ac7bb67
commit 4b4b640ec4
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2004-01-16 Alexandre Duret-Lutz <adl@src.lip6.fr> 2004-01-16 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/TestOperations.cc: Include sys/wait.h.
* src/Alloc.h: Rename as ... * src/Alloc.h: Rename as ...
* src/ObstackAlloc.h: ... this. The problem is that alloc.h is a * src/ObstackAlloc.h: ... this. The problem is that alloc.h is a
system header in g++ < 3.0, and Darwin has a case-insensitive system header in g++ < 3.0, and Darwin has a case-insensitive

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 1999, 2000, 2001, 2002, 2003 * Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
* Heikki Tauriainen <Heikki.Tauriainen@hut.fi> * Heikki Tauriainen <Heikki.Tauriainen@hut.fi>
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@ -26,6 +26,7 @@
#include <cstdio> #include <cstdio>
#include <cstdlib> #include <cstdlib>
#include <sys/times.h> #include <sys/times.h>
#include <sys/wait.h>
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
#include <unistd.h> #include <unistd.h>
#endif /* HAVE_UNISTD_H */ #endif /* HAVE_UNISTD_H */