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"))