aboutsummaryrefslogtreecommitdiff
path: root/bin/chmod
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1995-02-03 22:21:09 +0000
committerBruce Evans <bde@FreeBSD.org>1995-02-03 22:21:09 +0000
commit50c1f8972c74b3375a37c8e22d38eca8b2dad595 (patch)
tree3a9e6cbf9595b6782fd30b817bbb71fca4a67ab6 /bin/chmod
parent711fbb0afcdefa53fb8bcaf183a0c675b0f1b3d7 (diff)
downloadsrc-50c1f8972c74b3375a37c8e22d38eca8b2dad595.tar.gz
src-50c1f8972c74b3375a37c8e22d38eca8b2dad595.zip
Include <limits.h> to get the definition of INT_MAX - don't depend on
namespace pollution in <time.h>.
Notes
Notes: svn path=/head/; revision=6170
Diffstat (limited to 'bin/chmod')
-rw-r--r--bin/chmod/chmod.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/chmod/chmod.c b/bin/chmod/chmod.c
index 15c1c691dddf..1e3dab019ea8 100644
--- a/bin/chmod/chmod.c
+++ b/bin/chmod/chmod.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: chmod.c,v 1.2 1994/09/24 02:53:37 davidg Exp $
*/
#ifndef lint
@@ -49,6 +49,7 @@ static char sccsid[] = "@(#)chmod.c 8.8 (Berkeley) 4/1/94";
#include <err.h>
#include <errno.h>
#include <fts.h>
+#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>