summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/iobuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/smtpd/iobuf.c')
-rw-r--r--usr.sbin/smtpd/iobuf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/iobuf.c b/usr.sbin/smtpd/iobuf.c
index 0523302943e..8d3e6a54c00 100644
--- a/usr.sbin/smtpd/iobuf.c
+++ b/usr.sbin/smtpd/iobuf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iobuf.c,v 1.4 2013/01/26 09:37:23 gilles Exp $ */
+/* $OpenBSD: iobuf.c,v 1.5 2013/05/24 17:03:14 eric Exp $ */
/*
* Copyright (c) 2012 Eric Faurot <eric@openbsd.org>
*
@@ -15,11 +15,12 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/param.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <sys/uio.h>
#include <errno.h>
+#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>