diff options
Diffstat (limited to 'testing/lusca/alpine.patch')
-rw-r--r-- | testing/lusca/alpine.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/lusca/alpine.patch b/testing/lusca/alpine.patch new file mode 100644 index 0000000000..e138f915a5 --- /dev/null +++ b/testing/lusca/alpine.patch @@ -0,0 +1,43 @@ +Description:minor corrections to compile in Alpine Linux +Author: Diaz Devera Victor <vitronic2@gmail.com> +Last-Update: 2014-09-15 + +--- a/libcore/kb.h ++++ b/libcore/kb.h +@@ -1,6 +1,6 @@ + #ifndef __LIBCORE_KB_H__ + #define __LIBCORE_KB_H__ +- ++#include <stdint.h> + + /* + * XXX this strictly shouldn't be here! +--- a/libcore/tools.h ++++ b/libcore/tools.h +@@ -1,5 +1,6 @@ + #ifndef __LIBCORE_TOOLS_H__ + #define __LIBCORE_TOOLS_H__ ++#include <sys/time.h> + + #define MB ((size_t)1024*1024) + extern double toMB(size_t size); +--- a/libmem/MemPool.h ++++ b/libmem/MemPool.h +@@ -1,5 +1,6 @@ + #ifndef __LIBMEM_MEMPOOL_H__ + #define __LIBMEM_MEMPOOL_H__ ++#include <sys/time.h> + + /* object to track per-action memory usage (e.g. #idle objects) */ + struct _MemMeter { +--- a/src/acl.c ++++ b/src/acl.c +@@ -3176,7 +3176,7 @@ + #if defined(_SQUID_NETBSD_) || defined(_SQUID_OPENBSD_) + #undef free + #endif +-#include <sys/sysctl.h> ++#include <linux/sysctl.h> + #endif + #ifdef _SQUID_LINUX_ + #include <net/if_arp.h> |