Commit b4762a4b authored by Joseph Noir's avatar Joseph Noir

Add include missing on FreeBSD

parent da87eada
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include "caf/config.hpp" #include "caf/config.hpp"
// clang-format off
#ifdef CAF_WINDOWS #ifdef CAF_WINDOWS
# ifndef WIN32_LEAN_AND_MEAN # ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN
...@@ -42,6 +43,7 @@ ...@@ -42,6 +43,7 @@
# include <ws2ipdef.h> # include <ws2ipdef.h>
# include <ws2tcpip.h> # include <ws2tcpip.h>
#else // CAF_WINDOWS #else // CAF_WINDOWS
# include <sys/types.h>
# include <arpa/inet.h> # include <arpa/inet.h>
# include <cerrno> # include <cerrno>
# include <fcntl.h> # include <fcntl.h>
...@@ -51,3 +53,4 @@ ...@@ -51,3 +53,4 @@
# include <sys/socket.h> # include <sys/socket.h>
# include <unistd.h> # include <unistd.h>
#endif #endif
// clang-format on
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment