From e834bd0cf699b7e45bbd408bb49e1db8a438f2e2 Mon Sep 17 00:00:00 2001 From: Michael Zillgith Date: Fri, 24 Jan 2020 18:48:57 +0100 Subject: [PATCH] - fixed BSD compilation issues --- hal/CMakeLists.txt | 2 +- hal/socket/bsd/socket_bsd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hal/CMakeLists.txt b/hal/CMakeLists.txt index 5ef5c97c..bdd1a9c6 100644 --- a/hal/CMakeLists.txt +++ b/hal/CMakeLists.txt @@ -94,7 +94,7 @@ set (libhal_SRCS ) ELSEIF(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") set (libhal_SRCS - ${libhal_bsd_SRCS}} + ${libhal_bsd_SRCS} ) ELSE() set (libhal_SRCS diff --git a/hal/socket/bsd/socket_bsd.c b/hal/socket/bsd/socket_bsd.c index d1a6eaa9..9f1e7ea4 100644 --- a/hal/socket/bsd/socket_bsd.c +++ b/hal/socket/bsd/socket_bsd.c @@ -31,7 +31,7 @@ #include #include #include - +#include #include #include // required for TCP keepalive