summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/ruleset.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/ruleset.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/ruleset.c')
-rw-r--r--usr.sbin/smtpd/ruleset.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/ruleset.c b/usr.sbin/smtpd/ruleset.c
index 902f3c9da16..120b20505fd 100644
--- a/usr.sbin/smtpd/ruleset.c
+++ b/usr.sbin/smtpd/ruleset.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ruleset.c,v 1.30 2014/07/08 13:49:09 eric Exp $ */
+/* $OpenBSD: ruleset.c,v 1.31 2015/01/20 17:37:54 deraadt Exp $ */
/*
* Copyright (c) 2009 Gilles Chehade <gilles@poolp.org>
@@ -28,6 +28,7 @@
#include <imsg.h>
#include <stdio.h>
#include <string.h>
+#include <limits.h>
#include "smtpd.h"
#include "log.h"