Include <limits.h> to get the definition of INT_MAX - don't depend on

namespace pollution in <time.h>.
This commit is contained in:
Bruce Evans 1995-02-03 22:21:09 +00:00
parent 711fbb0afc
commit 50c1f8972c

View File

@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* $Id$ * $Id: chmod.c,v 1.2 1994/09/24 02:53:37 davidg Exp $
*/ */
#ifndef lint #ifndef lint
@ -49,6 +49,7 @@ static char sccsid[] = "@(#)chmod.c 8.8 (Berkeley) 4/1/94";
#include <err.h> #include <err.h>
#include <errno.h> #include <errno.h>
#include <fts.h> #include <fts.h>
#include <limits.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>