aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorCharles Longeau <github@chl.be>2014-06-01 18:58:13 +0200
committerCharles Longeau <github@chl.be>2014-06-01 18:58:13 +0200
commitdea7f5da1405d2b26abe1d14081c25237c489824 (patch)
tree61fee08b5923889d895a7902ad441306b8bf31e6 /contrib
parentmove asr.h from contrib/lib/libc/asr to openbsd-compat. While there, sync it with latest upstream changes (diff)
downloadOpenSMTPD-dea7f5da1405d2b26abe1d14081c25237c489824.tar.xz
OpenSMTPD-dea7f5da1405d2b26abe1d14081c25237c489824.zip
add 2 missing includes:
1/ #include <asr.h> needs #include <netdb.h> 2/ each portable file needs #include "includes.h"
Diffstat (limited to 'contrib')
-rw-r--r--contrib/lib/libc/asr/event_asr_run.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/lib/libc/asr/event_asr_run.c b/contrib/lib/libc/asr/event_asr_run.c
index 4306e8a3..aef86154 100644
--- a/contrib/lib/libc/asr/event_asr_run.c
+++ b/contrib/lib/libc/asr/event_asr_run.c
@@ -15,8 +15,11 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "includes.h"
+
#include <sys/types.h>
#include <sys/socket.h>
+#include <netdb.h>
#include <asr.h>
#include <event.h>