diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2015-01-27 11:50:19 -0300 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2015-01-27 17:06:15 +0100 |
commit | 0472d80e33f8d44f818543d894f5f44b5acef8ce (patch) | |
tree | 578f11ea8c6cfc18177de0ae71eb6c70b6c77dc0 /package/squid/0002-missing-include-time_h.patch | |
parent | 9384b87f2808a5c2d7344b06bd11b43ed992433c (diff) | |
download | buildroot-0472d80e33f8d44f818543d894f5f44b5acef8ce.tar.gz buildroot-0472d80e33f8d44f818543d894f5f44b5acef8ce.zip |
squid: bump to version 3.5.1
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/squid/0002-missing-include-time_h.patch')
-rw-r--r-- | package/squid/0002-missing-include-time_h.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/package/squid/0002-missing-include-time_h.patch b/package/squid/0002-missing-include-time_h.patch new file mode 100644 index 0000000000..18b3ab3b55 --- /dev/null +++ b/package/squid/0002-missing-include-time_h.patch @@ -0,0 +1,28 @@ +ipc/Kid.cc: add missing include of time.h + +Function time() comes from <time.h>, so add the necessary include. +This fixes compilation on some configurations, for example +http://autobuild.buildroot.net/results/b33/b33e1f41e50b6e7ac3e30806b9a617d451bc27b4/ + +Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> +Upstream-status: submitted (http://bugs.squid-cache.org/show_bug.cgi?id=3967) + +--- + src/ipc/Kid.cc | 4 ++++ + 1 files changed, 4 insertions(+), 0 deletions(-) + + +diff --git a/src/ipc/Kid.cc b/src/ipc/Kid.cc +--- a/src/ipc/Kid.cc ++++ b/src/ipc/Kid.cc +@@ -11,6 +11,10 @@ + #include <sys/wait.h> + #endif + ++#if HAVE_TIME_H ++#include <time.h> ++#endif ++ + int TheProcessKind = pkOther; + + Kid::Kid(): |