summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2022-07-08 08:48:57 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2022-07-08 08:48:57 +0000
commite05789e91c8f2fd05bba844869c8728b6a6df2bf (patch)
tree0168b91f36364397ede0fc726cdab9f74a210824
parentf76dcc3e1b55de29ca1495b92fd29c1330c347f5 (diff)
This needs arpa/inet.h for ntohs() and htons()
-rw-r--r--usr.sbin/bgplgd/slowcgi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgplgd/slowcgi.c b/usr.sbin/bgplgd/slowcgi.c
index c229142a6d7..1c6dc378192 100644
--- a/usr.sbin/bgplgd/slowcgi.c
+++ b/usr.sbin/bgplgd/slowcgi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: slowcgi.c,v 1.1 2022/06/28 16:11:30 claudio Exp $ */
+/* $OpenBSD: slowcgi.c,v 1.2 2022/07/08 08:48:56 claudio Exp $ */
/*
* Copyright (c) 2020 Claudio Jeker <claudio@openbsd.org>
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -26,6 +26,7 @@
#include <sys/time.h>
#include <sys/un.h>
#include <sys/wait.h>
+#include <arpa/inet.h>
#include <err.h>
#include <fcntl.h>
#include <errno.h>