12345678910111213141516171819202122232425 |
- Index: memcached-1.4.26/memcached.c
- ===================================================================
- --- memcached-1.4.26.orig/memcached.c
- +++ memcached-1.4.26/memcached.c
- @@ -13,6 +13,10 @@
- * Anatoly Vorobey <mellon@pobox.com>
- * Brad Fitzpatrick <brad@danga.com>
- */
- +#ifndef __need_IOV_MAX
- +#define __need_IOV_MAX
- +#endif
- +
- #include "memcached.h"
- #include <sys/stat.h>
- #include <sys/socket.h>
- @@ -30,9 +34,6 @@
- #define _P1003_1B_VISIBLE
- #endif
- /* need this to get IOV_MAX on some platforms. */
- -#ifndef __need_IOV_MAX
- -#define __need_IOV_MAX
- -#endif
- #include <pwd.h>
- #include <sys/mman.h>
- #include <fcntl.h>
|