summaryrefslogtreecommitdiff
path: root/usr.bin/file/file.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-10-02 18:06:28 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-10-02 18:06:28 +0000
commitc55b191bffa9711ca14b749a5e928b14f0731b71 (patch)
tree02b059da3550d7a88e787b3597870f83157f4d6c /usr.bin/file/file.c
parent7c7872daac454e972a7274754e16d32d99d96a94 (diff)
use limits.h instead of sys/param.h to get PATH_MAX
Diffstat (limited to 'usr.bin/file/file.c')
-rw-r--r--usr.bin/file/file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/file/file.c b/usr.bin/file/file.c
index 078ed58752b..b6816bcaeab 100644
--- a/usr.bin/file/file.c
+++ b/usr.bin/file/file.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: file.c,v 1.47 2015/07/12 09:51:25 tobias Exp $ */
+/* $OpenBSD: file.c,v 1.48 2015/10/02 18:06:27 deraadt Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@ -33,6 +33,7 @@
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
+#include <limits.h>
#include "file.h"
#include "magic.h"