diff --git a/SConstruct b/SConstruct index f48cb87..b2d62e0 100644 --- a/SConstruct +++ b/SConstruct @@ -92,6 +92,8 @@ if conf.CheckFunc('setsid'): conf.env.Append(CPPFLAGS = '-DHAVE_SETSID') if conf.CheckCHeader('unistd.h'): env.Append(CPPFLAGS = '-DHAVE_UNISTD_H') +if conf.CheckCHeader('limits.h'): + conf.env.Append(CPPFLAGS = '-DHAVE_LIMITS_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"))