liblo: moved to github
[openwrt.org/packages.git] / net / 100-fix_iov_max.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- a/memcached.c
+++ b/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>
@@ -29,9 +33,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>
 
comments