Remove unnecessary MacOS-specific includes

This commit is contained in:
Lassi Kortela 2019-08-09 21:56:23 +03:00
parent e19fe0b8bd
commit 2b65fe4cef
1 changed files with 8 additions and 11 deletions

View File

@ -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)