diff options
| author | 2022-04-30 17:43:47 +0100 | |
|---|---|---|
| committer | 2022-04-30 17:48:12 +0100 | |
| commit | af1d0f6a4b003d30960dfb55d6bdb7dd6c61f97e (patch) | |
| tree | af66e2ac293a71f94ede92b81d498bf145810a78 /src/socket.cpp | |
| parent | Enable writing a pid file on Windows. (diff) | |
Slim down the globally included files.
Diffstat (limited to 'src/socket.cpp')
| -rw-r--r-- | src/socket.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/socket.cpp b/src/socket.cpp index a48b3e257..e2a3d64be 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -27,6 +27,10 @@ */ +#ifndef _WIN32 +# include <arpa/inet.h> +#endif + #include "inspircd.h" bool InspIRCd::BindPort(std::shared_ptr<ConfigTag> tag, const irc::sockets::sockaddrs& sa, std::vector<ListenSocket*>& old_ports) |
