package An official xmake package repository
https://xrepo.xmake.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
343 B
14 lines
343 B
diff --git a/src/addons/http.c b/src/addons/http.c |
|
index fbaab52f4..32985a554 100644 |
|
--- a/src/addons/http.c |
|
+++ b/src/addons/http.c |
|
@@ -56,6 +56,9 @@ typedef SOCKET ecs_http_socket_t; |
|
#include <strings.h> |
|
#include <signal.h> |
|
#include <fcntl.h> |
|
+#ifdef __FreeBSD__ |
|
+#include <netinet/in.h> |
|
+#endif |
|
typedef int ecs_http_socket_t; |
|
#endif |
|
|
|
|