summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail/def.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mail/def.h')
-rw-r--r--usr.bin/mail/def.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/mail/def.h b/usr.bin/mail/def.h
index 322be15ad85..17bdaf54eb5 100644
--- a/usr.bin/mail/def.h
+++ b/usr.bin/mail/def.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: def.h,v 1.13 2003/06/25 15:13:32 millert Exp $ */
+/* $OpenBSD: def.h,v 1.14 2015/01/16 06:40:09 deraadt Exp $ */
/* $NetBSD: def.h,v 1.9 1996/12/28 07:11:00 tls Exp $ */
/*
@@ -30,7 +30,7 @@
* SUCH DAMAGE.
*
* @(#)def.h 8.4 (Berkeley) 4/20/95
- * $OpenBSD: def.h,v 1.13 2003/06/25 15:13:32 millert Exp $
+ * $OpenBSD: def.h,v 1.14 2015/01/16 06:40:09 deraadt Exp $
*/
/*
@@ -42,7 +42,6 @@
#ifndef MAIL_DEF_H
#define MAIL_DEF_H
-#include <sys/param.h>
#include <sys/stat.h>
#include <sys/time.h>
@@ -54,6 +53,7 @@
#include <string.h>
#include <termios.h>
#include <unistd.h>
+#include <limits.h>
#include <vis.h>
#include "pathnames.h"
@@ -61,7 +61,7 @@
#define ESCAPE '~' /* Default escape for sending */
#define NMLSIZE 1024 /* max names in a message list */
-#define PATHSIZE MAXPATHLEN /* Size of pathnames throughout */
+#define PATHSIZE PATH_MAX /* Size of pathnames throughout */
#define HSHSIZE 59 /* Hash size for aliases and vars */
#define LINESIZE BUFSIZ /* max readable line width */
#define STRINGSIZE ((unsigned) 128)/* Dynamic allocation units */