1.1 --- a/memcached/memcached.patch Wed Sep 21 14:10:37 2011 +0200 1.2 +++ b/memcached/memcached.patch Wed Sep 21 14:13:05 2011 +0200 1.3 @@ -75,3 +75,14 @@ 1.4 1.5 dispatcher_thread.base = main_base; 1.6 dispatcher_thread.thread_id = pthread_self(); 1.7 +Index: libmemcache-1.4.0.rc2/src/buffer.c 1.8 +--- libmemcache-1.4.0.rc2/src/buffer.c.orig 2009-11-25 18:36:18.468286813 +0100 1.9 ++++ libmemcache-1.4.0.rc2/src/buffer.c 2009-11-25 18:36:20.700402681 +0100 1.10 +@@ -36,6 +36,7 @@ 1.11 + #include <sys/uio.h> 1.12 + #include <unistd.h> 1.13 + #include <sys/errno.h> 1.14 ++#include <errno.h> 1.15 + 1.16 + #include "memcache/buffer.h" 1.17 +