From 219c625c743c44153ba0926d8b84c69643bee720 Mon Sep 17 00:00:00 2001 From: Sebastian Valle Date: Mon, 10 Sep 2018 23:19:30 -0500 Subject: Add the include to unix.h. Some files were using ENET_HOST_TO_NET_32 and ENET_NET_TO_HOST_32 without having included the file beforehand, leading to compiler warnings about implicit declarations of ntohl and htonl. --- include/enet/unix.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/enet/unix.h b/include/enet/unix.h index a59e340..b55be33 100644 --- a/include/enet/unix.h +++ b/include/enet/unix.h @@ -9,6 +9,7 @@ #include #include #include +#include #include #include -- cgit v1.2.3