Don't include sys/syslimits.h if _ANSI_SOURCE is defined.

PR:		5119
Discussed with:	Bruce Evans <bde@zeta.org.au>
This commit is contained in:
Steve Price 1997-12-27 22:56:41 +00:00
parent 8ff467c6b7
commit 14d96c0846
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=32032

View File

@ -1,4 +1,4 @@
/* /*-
* Copyright (c) 1988, 1993 * Copyright (c) 1988, 1993
* The Regents of the University of California. All rights reserved. * The Regents of the University of California. All rights reserved.
* *
@ -31,6 +31,7 @@
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* @(#)limits.h 8.2 (Berkeley) 1/4/94 * @(#)limits.h 8.2 (Berkeley) 1/4/94
* $Id$
*/ */
#ifndef _LIMITS_H_ #ifndef _LIMITS_H_
@ -73,6 +74,8 @@
#endif #endif
#include <machine/limits.h> #include <machine/limits.h>
#if !defined(_ANSI_SOURCE)
#include <sys/syslimits.h> #include <sys/syslimits.h>
#endif
#endif /* !_LIMITS_H_ */ #endif /* !_LIMITS_H_ */