Description:minor corrections to compile in Alpine Linux Author: Diaz Devera Victor 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 /* * 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 #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 /* 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 +#include #endif #ifdef _SQUID_LINUX_ #include