diff --git a/src/memcached.c b/src/memcached.c
index b3321578894d7e3ffc49a4a7126143ff0e3d2b87..4c9e6adcb34e8eba28ca2883a2056920274d1c8f 100644 (file)
--- a/src/memcached.c
+++ b/src/memcached.c
# include <netinet/in.h>
# include <netinet/tcp.h>
+/* Hack to work around the missing define in AIX */
+#ifndef MSG_DONTWAIT
+# define MSG_DONTWAIT MSG_NONBLOCK
+#endif
+
#define MEMCACHED_DEF_HOST "127.0.0.1"
#define MEMCACHED_DEF_PORT "11211"
static int memcached_read (void) /* {{{ */
{
- char buf[1024];
+ char buf[4096];
char *fields[3];
char *ptr;
char *line;