fix a build issue

This commit is contained in:
Max Lv
2015-08-12 09:53:33 +08:00
parent 07a8bb1e0d
commit 7f9e158f85
+1 -17
View File
@@ -46,10 +46,10 @@
#include <netinet/tcp.h>
#include <pthread.h>
#include <sys/un.h>
#include <sys/socket.h>
#endif
#include <libcork/core.h>
#include <udns.h>
#ifdef __MINGW32__
#include "win32.h"
@@ -65,26 +65,10 @@
#include "utils.h"
#include "manager.h"
#ifndef EAGAIN
#define EAGAIN EWOULDBLOCK
#endif
#ifndef EWOULDBLOCK
#define EWOULDBLOCK EAGAIN
#endif
#ifndef BUF_SIZE
#define BUF_SIZE 2048
#endif
#ifndef SSMAXCONN
#define SSMAXCONN 1024
#endif
#ifndef UPDATE_INTERVAL
#define UPDATE_INTERVAL 30
#endif
int verbose = 0;
char *executable = "ss-server";