diff options
author | Runxi Yu <me@runxiyu.org> | 2024-07-27 08:00:00 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2024-07-27 08:00:00 +0800 |
commit | 2f6ae89f757135fdd1d95c7d3056873816452d59 (patch) | |
tree | a0a1de56317bb84f171cd12b8ef2847f74c0d925 /networks/openssl.c | |
parent | 026546d826b5649668c8d1ae69821dee30159100 (diff) | |
download | haxircd-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.c')
-rw-r--r-- | networks/openssl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/networks/openssl.c b/networks/openssl.c index db3790a..199a243 100644 --- a/networks/openssl.c +++ b/networks/openssl.c @@ -34,6 +34,7 @@ #include <poll.h> #include <pthread.h> #include <unistd.h> +#include <netinet/in.h> #include "../config.h" #include "../main.h" |