summaryrefslogtreecommitdiff
path: root/usr.bin/mg/basic.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/basic.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/basic.c')
-rw-r--r--usr.bin/mg/basic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mg/basic.c b/usr.bin/mg/basic.c
index 5d6f093cdb4..841f3215dc2 100644
--- a/usr.bin/mg/basic.c
+++ b/usr.bin/mg/basic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: basic.c,v 1.42 2014/03/20 07:47:29 lum Exp $ */
+/* $OpenBSD: basic.c,v 1.43 2014/11/16 04:16:41 guenther Exp $ */
/* This file is in the public domain */
@@ -14,6 +14,7 @@
#include "def.h"
#include <ctype.h>
+#include <limits.h>
/*
* Go to beginning of line.