summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/table_getpwnam.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/table_getpwnam.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/table_getpwnam.c')
-rw-r--r--usr.sbin/smtpd/table_getpwnam.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/table_getpwnam.c b/usr.sbin/smtpd/table_getpwnam.c
index 52e79c0d772..83cbf797d7b 100644
--- a/usr.sbin/smtpd/table_getpwnam.c
+++ b/usr.sbin/smtpd/table_getpwnam.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: table_getpwnam.c,v 1.3 2014/07/08 13:49:09 eric Exp $ */
+/* $OpenBSD: table_getpwnam.c,v 1.4 2015/01/20 17:37:54 deraadt Exp $ */
/*
* Copyright (c) 2012 Gilles Chehade <gilles@poolp.org>
@@ -30,6 +30,7 @@
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
+#include <limits.h>
#include <string.h>
#include "smtpd.h"