diff --git a/configure.ac b/configure.ac index 05c46e21..1e38aa0f 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.68]) -AC_INIT([libev-hello], [0.1], [clowwindy42@gmail.com]) +AC_INIT([shadowsocks], [0.9], [clowwindy42@gmail.com|max.c.lv@gmail.com]) AC_CONFIG_SRCDIR([encrypt.c]) AC_CONFIG_HEADERS([config.h]) diff --git a/local.c b/local.c index dd50e9ee..a475c220 100644 --- a/local.c +++ b/local.c @@ -29,6 +29,10 @@ #define MSG_NOSIGNAL MSG_HAVEMORE #endif +#ifndef EAGAIN +#define EAGAIN EWOULDBLOCK +#endif + #define min(a,b) (((a)<(b))?(a):(b)) static char *_server;