aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lusca/alpine.patch
blob: e138f915a5d08c0d0707b790bbfbd6f26f9da999 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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>