Remove unnecessary MacOS-specific includes
This commit is contained in:
parent
e19fe0b8bd
commit
2b65fe4cef
19
c/socket.c
19
c/socket.c
|
@ -1,20 +1,17 @@
|
||||||
#include <sys/select.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
|
#include <sys/select.h>
|
||||||
|
#include <sys/time.h>
|
||||||
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "dtypes.h"
|
#include "dtypes.h"
|
||||||
|
|
||||||
#if defined(MACOSX)
|
|
||||||
#include <sys/time.h>
|
|
||||||
#include <sys/select.h>
|
|
||||||
#include <sys/types.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "socket.h"
|
#include "socket.h"
|
||||||
|
|
||||||
int mysocket(int domain, int type, int protocol)
|
int mysocket(int domain, int type, int protocol)
|
||||||
|
|
Loading…
Reference in New Issue