diff options
Diffstat (limited to 'socket.c')
-rw-r--r-- | socket.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -7,6 +7,9 @@ #include "config.h" #include <stdio.h> #include <string.h> +#ifdef HAVE_MEMORY_H +#include <memory.h> +#endif /* HAVE_MEMORY_H */ #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> @@ -35,10 +38,6 @@ #endif #endif /* INET_ATON */ -#ifdef SUNOS -#include <memory.h> -#endif - int SockOpen(char *host, int clientPort) { int sock; |