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.
|
|
|
|
Index: include/common/mini-clist.h
|
|
|
|
|
--- include/common/mini-clist.h.orig 2017-01-13 10:03:00.000000000 +0100
|
|
|
|
|
+++ include/common/mini-clist.h 2017-01-14 10:24:39.219098000 +0100
|
|
|
|
|
@@ -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 2017-01-13 10:03:00.000000000 +0100
|
|
|
|
|
+++ src/hlua_fcn.c 2017-01-14 10:26:02.422136000 +0100
|
|
|
|
|
@@ -1015,7 +1015,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) {
|
|
|
|
|
@@ -1029,6 +1030,7 @@
|
|
|
|
|
lua_pushboolean(L, 1);
|
|
|
|
|
return 1;
|
|
|
|
|
}
|
|
|
|
|
+#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
lua_pushboolean(L, 0);
|