diff --git a/src/include/os/Linux/osiSock.h b/src/include/os/Linux/osiSock.h index abc1f2187..a86212092 100644 --- a/src/include/os/Linux/osiSock.h +++ b/src/include/os/Linux/osiSock.h @@ -36,12 +36,7 @@ extern "C" { #include #include #include /* close() and others */ - -/* - * as far as I can tell there is no header file for these - */ -int gethostname(char *name, int namelen); -int sethostname(char *name, int namelen); + #ifdef __cplusplus } @@ -55,5 +50,19 @@ typedef int SOCKET; #define FD_IN_FDSET(FD) ((FD) #include #include /* close() and others */ - -/* - * as far as I can tell there is no header file for these - */ -int gethostname(char *name, int namelen); -int sethostname(char *name, int namelen); + #ifdef __cplusplus } @@ -55,5 +50,19 @@ typedef int SOCKET; #define FD_IN_FDSET(FD) ((FD)