diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2014-11-16 04:16:42 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2014-11-16 04:16:42 +0000 |
commit | 3243c629699c25f7f4a576fe1c2f58e274eba8f7 (patch) | |
tree | 13313bb150a27b55b2509040ec05f6786e7d8ba5 /usr.bin/mg/line.c | |
parent | a85c45b1c774102095dfe0605bb6242bb7309462 (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/line.c')
-rw-r--r-- | usr.bin/mg/line.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mg/line.c b/usr.bin/mg/line.c index 51d17657d98..056073e2679 100644 --- a/usr.bin/mg/line.c +++ b/usr.bin/mg/line.c @@ -1,4 +1,4 @@ -/* $OpenBSD: line.c,v 1.53 2014/03/20 07:47:29 lum Exp $ */ +/* $OpenBSD: line.c,v 1.54 2014/11/16 04:16:41 guenther Exp $ */ /* This file is in the public domain. */ @@ -19,6 +19,7 @@ #include "def.h" +#include <limits.h> #include <stdlib.h> #include <string.h> |