aboutsummaryrefslogtreecommitdiffstats
path: root/include/limits.h
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1997-12-27 22:56:41 +0000
committerSteve Price <steve@FreeBSD.org>1997-12-27 22:56:41 +0000
commit14d96c0846a991e54c481edec6eeaffb3b455d7e (patch)
tree93d7c7dc1a55a9956102506142e771986b814cc9 /include/limits.h
parent8ff467c6b70201d14fb4541b578aefab5a194dea (diff)
downloadsrc-14d96c0846a991e54c481edec6eeaffb3b455d7e.tar.gz
src-14d96c0846a991e54c481edec6eeaffb3b455d7e.zip
Don't include sys/syslimits.h if _ANSI_SOURCE is defined.
PR: 5119 Discussed with: Bruce Evans <bde@zeta.org.au>
Notes
Notes: svn path=/head/; revision=32032
Diffstat (limited to 'include/limits.h')
-rw-r--r--include/limits.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/limits.h b/include/limits.h
index e5c9d6d93b9b..2e2b29325da2 100644
--- a/include/limits.h
+++ b/include/limits.h
@@ -1,4 +1,4 @@
-/*
+/*-
* Copyright (c) 1988, 1993
* The Regents of the University of California. All rights reserved.
*
@@ -31,6 +31,7 @@
* SUCH DAMAGE.
*
* @(#)limits.h 8.2 (Berkeley) 1/4/94
+ * $Id$
*/
#ifndef _LIMITS_H_
@@ -73,6 +74,8 @@
#endif
#include <machine/limits.h>
+#if !defined(_ANSI_SOURCE)
#include <sys/syslimits.h>
+#endif
#endif /* !_LIMITS_H_ */