summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/compress_backend.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-01-20 17:37:55 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-01-20 17:37:55 +0000
commitee84f1cbaf28a0c8511dd2de2685028d389414b2 (patch)
tree0f2893c7931f5e91baa8636ffb931a4c90730812 /usr.sbin/smtpd/compress_backend.c
parent52ef1f80c283aa859feb09537098b134f58707fc (diff)
use <limits.h> comprehensively. For now try to push <> includes to
each .c file, and out of the .h files. To avoid overinclude. ok gilles, in principle. If this has been done right, -portable should become easier to maintain.
Diffstat (limited to 'usr.sbin/smtpd/compress_backend.c')
-rw-r--r--usr.sbin/smtpd/compress_backend.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/compress_backend.c b/usr.sbin/smtpd/compress_backend.c
index 08ac9665a32..516dd1ee6dc 100644
--- a/usr.sbin/smtpd/compress_backend.c
+++ b/usr.sbin/smtpd/compress_backend.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: compress_backend.c,v 1.8 2013/05/24 17:03:14 eric Exp $ */
+/* $OpenBSD: compress_backend.c,v 1.9 2015/01/20 17:37:54 deraadt Exp $ */
/*
* Copyright (c) 2012 Charles Longeau <chl@openbsd.org>
@@ -28,6 +28,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <limits.h>
#include "smtpd.h"