From dfa9fdc50d5a7523fc62fe9f84cd1533433cce8f Mon Sep 17 00:00:00 2001 From: Radim Kolar <> Date: Wed, 19 Aug 2009 16:24:03 +0200 Subject: [PATCH] autodetect sys/wait.h header --- SConstruct | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SConstruct b/SConstruct index 49b88d6..efb592b 100644 --- a/SConstruct +++ b/SConstruct @@ -100,6 +100,8 @@ if conf.CheckCHeader('sys/resource.h'): conf.env.Append(CPPFLAGS = '-DHAVE_SYS_RESOURCE_H') if conf.CheckCHeader('sys/syslimits.h'): conf.env.Append(CPPFLAGS = '-DHAVE_SYS_SYSLIMITS_H') +if conf.CheckCHeader('sys/wait.h'): + conf.env.Append(CPPFLAGS = '-DHAVE_SYS_WAIT_H') env.Append(CPPFLAGS = '-DSIZEOF_CHAR='+conf.sizeOf("char")) env.Append(CPPFLAGS = '-DSIZEOF_LONG='+conf.sizeOf("long")) env.Append(CPPFLAGS = '-DSIZEOF_SHORT='+conf.sizeOf("short"))