diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-01-20 17:37:55 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-01-20 17:37:55 +0000 |
commit | ee84f1cbaf28a0c8511dd2de2685028d389414b2 (patch) | |
tree | 0f2893c7931f5e91baa8636ffb931a4c90730812 /usr.sbin/smtpd/table_api.c | |
parent | 52ef1f80c283aa859feb09537098b134f58707fc (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_api.c')
-rw-r--r-- | usr.sbin/smtpd/table_api.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/table_api.c b/usr.sbin/smtpd/table_api.c index 48d70a8d205..78cb2e9d90b 100644 --- a/usr.sbin/smtpd/table_api.c +++ b/usr.sbin/smtpd/table_api.c @@ -1,4 +1,4 @@ -/* $OpenBSD: table_api.c,v 1.6 2014/08/11 09:50:51 gilles Exp $ */ +/* $OpenBSD: table_api.c,v 1.7 2015/01/20 17:37:54 deraadt Exp $ */ /* * Copyright (c) 2013 Eric Faurot <eric@openbsd.org> @@ -18,7 +18,11 @@ #include <sys/types.h> #include <sys/queue.h> -#include <sys/uio.h> +#include <sys/tree.h> +#include <sys/socket.h> + +#include <netinet/in.h> +#include <netdb.h> #include <event.h> #include <fcntl.h> @@ -28,6 +32,7 @@ #include <stdlib.h> #include <string.h> #include <unistd.h> +#include <limits.h> #include "smtpd-defines.h" #include "smtpd-api.h" |