You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
876 B
32 lines
876 B
Index: include/common/mini-clist.h |
|
--- include/common/mini-clist.h.orig 2018-10-05 13:03:10.000000000 +0200 |
|
+++ include/common/mini-clist.h 2018-10-05 17:45:13.050303000 +0200 |
|
@@ -67,6 +67,7 @@ |
|
#undef LIST_HEAD |
|
#undef LIST_INIT |
|
#undef LIST_NEXT |
|
+#undef LIST_PREV |
|
|
|
/* ILH = Initialized List Head : used to prevent gcc from moving an empty |
|
* list to BSS. Some older version tend to trim all the array and cause |
|
Index: src/hlua_fcn.c |
|
--- src/hlua_fcn.c.orig 2018-10-05 13:03:10.000000000 +0200 |
|
+++ src/hlua_fcn.c 2018-10-05 17:45:13.050877000 +0200 |
|
@@ -1087,7 +1087,8 @@ |
|
lua_pushboolean(L, 1); |
|
return 1; |
|
} |
|
- } else { |
|
+#if defined(AF_INET6) && !defined(__FreeBSD__) |
|
+ } else if (addr1->type === AF_INET6) { |
|
int i; |
|
|
|
for (i = 0; i < 16; i += 4) { |
|
@@ -1101,6 +1102,7 @@ |
|
lua_pushboolean(L, 1); |
|
return 1; |
|
} |
|
+#endif |
|
} |
|
|
|
lua_pushboolean(L, 0);
|
|
|