1
0
forked from fsfw/fsfw

fixed for linux

This commit is contained in:
2021-03-21 12:51:28 +01:00
parent d625642abc
commit 86577f4b80
13 changed files with 484 additions and 467 deletions

View File

@ -2,6 +2,7 @@
#ifdef __unix__
#include <errno.h>
#include <unistd.h>
#endif
@ -21,7 +22,7 @@ int TcpIpBase::closeSocket(socket_t socket) {
#ifdef _WIN32
return closesocket(socket);
#elif defined(__unix__)
return close(socket)
return close(socket);
#endif
}