]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUILD] fix build on FreeBSD for INT_MIN/INT_MAX
authorWilly Tarreau <w@1wt.eu>
Mon, 9 Apr 2007 13:57:51 +0000 (15:57 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 9 Apr 2007 13:57:51 +0000 (15:57 +0200)
commitcf83df3d162687d9c74783357421bd89f596eaac
treed802c418c135e2cb78e653cb890e9c81fcccdba5
parent63455a9be5cedd59d73ce206ddf3f6c20c8a7be3
[BUILD] fix build on FreeBSD for INT_MIN/INT_MAX

FreeBSD stores INT_MIN and INT_MAX in sys/limits.h only. Other systems
(Solaris) have it in sys/types.h and do not have sys/limits.h. Let's
include sys/limits.h only if INT_MAX is not defined.
include/common/standard.h