summaryrefslogtreecommitdiff
path: root/usr.bin/mg/main.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-11-16 04:16:42 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-11-16 04:16:42 +0000
commit3243c629699c25f7f4a576fe1c2f58e274eba8f7 (patch)
tree13313bb150a27b55b2509040ec05f6786e7d8ba5 /usr.bin/mg/main.c
parenta85c45b1c774102095dfe0605bb6242bb7309462 (diff)
Stop using <sys/param.h>; replace MAXPATHLEN with PATH_MAX, stop using MAX(),
and pull in <limits.h> for *_MAX constants. inspired on a diff from Kamil Rytarowski (n54 (at) gmx.com) ok bcallah@
Diffstat (limited to 'usr.bin/mg/main.c')
-rw-r--r--usr.bin/mg/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mg/main.c b/usr.bin/mg/main.c
index 09dcd040e57..c6718ca71d9 100644
--- a/usr.bin/mg/main.c
+++ b/usr.bin/mg/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.73 2014/11/13 21:36:23 florian Exp $ */
+/* $OpenBSD: main.c,v 1.74 2014/11/16 04:16:41 guenther Exp $ */
/* This file is in the public domain. */
@@ -12,6 +12,7 @@
#include "macro.h"
#include <err.h>
+#include <limits.h>
#include <locale.h>
int thisflag; /* flags, this command */