1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-25 16:47:38 +01:00

tests: Include wait-related headers for Ltest-mem-validate (#74)

Without these, I was getting errors from this test set claiming that
wait, WIFCONTINUED, et al. were undefined on FreeBSD 11.1.
This commit is contained in:
Alex Arslan 2018-04-12 09:46:15 -07:00 committed by Dave Watson
parent 729772149f
commit 2be1c2754a

View file

@ -35,6 +35,8 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include <sys/resource.h> #include <sys/resource.h>
#include <sys/mman.h> #include <sys/mman.h>
#include <sys/types.h>
#include <sys/wait.h>
#define panic(args...) \ #define panic(args...) \
{ fprintf (stderr, args); exit (-1); } { fprintf (stderr, args); exit (-1); }