diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2014-03-26 18:14:23 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2014-03-26 18:14:23 +0000 |
commit | ba28fae1053f54069de91bf41675a00fcc66c908 (patch) | |
tree | ba56dc81b9ef2e6f0260383491f5ab0f04006f5b /usr.sbin/smtpd | |
parent | d904b0af22db9828c09c6d48db2c1c10fc52eccb (diff) |
asr API is now public
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r-- | usr.sbin/smtpd/dns.c | 5 | ||||
-rw-r--r-- | usr.sbin/smtpd/smtpd/Makefile | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/usr.sbin/smtpd/dns.c b/usr.sbin/smtpd/dns.c index 8f7fa9e51ff..49444787382 100644 --- a/usr.sbin/smtpd/dns.c +++ b/usr.sbin/smtpd/dns.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dns.c,v 1.73 2014/03/25 19:50:17 eric Exp $ */ +/* $OpenBSD: dns.c,v 1.74 2014/03/26 18:14:22 eric Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@poolp.org> @@ -27,14 +27,15 @@ #include <netinet/in.h> #include <arpa/inet.h> #include <arpa/nameser.h> +#include <netdb.h> +#include <asr.h> #include <event.h> #include <imsg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> -#include "asr.h" #include "smtpd.h" #include "log.h" diff --git a/usr.sbin/smtpd/smtpd/Makefile b/usr.sbin/smtpd/smtpd/Makefile index 34820ea4098..6654a9dcc08 100644 --- a/usr.sbin/smtpd/smtpd/Makefile +++ b/usr.sbin/smtpd/smtpd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.69 2014/02/04 15:44:06 eric Exp $ +# $OpenBSD: Makefile,v 1.70 2014/03/26 18:14:22 eric Exp $ .PATH: ${.CURDIR}/.. @@ -39,7 +39,7 @@ BINDIR= /usr/sbin LDADD+= -levent -lutil -lssl -lcrypto -lm -lz DPADD+= ${LIBEVENT} ${LIBUTIL} ${LIBSSL} ${LIBCRYPTO} ${LIBM} ${LIBZ} -CFLAGS+= -g3 -ggdb -I${.CURDIR}/.. -I${.CURDIR}/../../../lib/libc/asr +CFLAGS+= -g3 -ggdb -I${.CURDIR}/.. CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes CFLAGS+= -Wmissing-declarations CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual |