fix socket.c
This commit is contained in:
		| @@ -21,6 +21,8 @@ | |||||||
| 	#include <arpa/inet.h> | 	#include <arpa/inet.h> | ||||||
| 	#include <netinet/in.h> | 	#include <netinet/in.h> | ||||||
| 	#include <fcntl.h> | 	#include <fcntl.h> | ||||||
|  | 	#include <errno.h> | ||||||
|  | 	#include <unistd.h> | ||||||
|  |  | ||||||
| 	#define IS_SOCKET_ERROR(a)	((a)<0) | 	#define IS_SOCKET_ERROR(a)	((a)<0) | ||||||
| 	typedef int				socket_t; | 	typedef int				socket_t; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user