aboutsummaryrefslogtreecommitdiff
path: root/bin/ed/ed.h
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2001-05-29 18:03:14 +0000
committerWarner Losh <imp@FreeBSD.org>2001-05-29 18:03:14 +0000
commit9842e24c34882493e3ce859de94abc3d97445834 (patch)
tree647d68960ea8c5283bd132053cf36cb6fec682a6 /bin/ed/ed.h
parent99e8005137088aafb1350e23b113d69b01b0820f (diff)
Notes
Diffstat (limited to 'bin/ed/ed.h')
-rw-r--r--bin/ed/ed.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/bin/ed/ed.h b/bin/ed/ed.h
index d313a84f1cdf0..34cd276f65b14 100644
--- a/bin/ed/ed.h
+++ b/bin/ed/ed.h
@@ -28,11 +28,9 @@
* $FreeBSD$
*/
-#include <sys/param.h> /* for MAXPATHLEN */
+#include <sys/param.h>
#include <errno.h>
-#if defined(sun) || defined(__NetBSD__)
-# include <limits.h>
-#endif
+#include <limits.h>
#include <regex.h>
#include <signal.h>
#include <stdio.h>
@@ -44,10 +42,6 @@
#define EMOD (-3)
#define FATAL (-4)
-#ifndef MAXPATHLEN
-# define MAXPATHLEN 255 /* _POSIX_PATH_MAX */
-#endif
-
#define MINBUFSZ 512 /* minimum buffer size - must be > 0 */
#define SE_MAX 30 /* max subexpressions in a regular expression */
#ifdef INT_MAX