aboutsummaryrefslogtreecommitdiff
path: root/networks/openssl_buffered.c
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-07-27 08:00:00 +0800
committerRunxi Yu <me@runxiyu.org>2024-07-27 08:00:00 +0800
commit2f6ae89f757135fdd1d95c7d3056873816452d59 (patch)
treea0a1de56317bb84f171cd12b8ef2847f74c0d925 /networks/openssl_buffered.c
parent026546d826b5649668c8d1ae69821dee30159100 (diff)
downloadhaxircd-2f6ae89f757135fdd1d95c7d3056873816452d59.tar.gz
haxircd-2f6ae89f757135fdd1d95c7d3056873816452d59.zip
networking: #include <netinet/in.h>
IPPROTO_TCP, etc. seem to be defined in netinet/in.h on non-Linux systems, including OpenBSD.
Diffstat (limited to 'networks/openssl_buffered.c')
-rw-r--r--networks/openssl_buffered.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/networks/openssl_buffered.c b/networks/openssl_buffered.c
index ebdf4b0..3547e64 100644
--- a/networks/openssl_buffered.c
+++ b/networks/openssl_buffered.c
@@ -34,6 +34,7 @@
#include <poll.h>
#include <pthread.h>
#include <unistd.h>
+#include <netinet/in.h>
#include "../config.h"
#include "../main.h"