imagemagick: bump version to 7.0.3-7 (security)
[buildroot-gz.git] / package / ipmitool / 0003-Add-missing-linux-param.h-header-include.patch
bloba3bd7257fb4297032b8c95d418db700196e0d0e7
1 From 661095378b74df564bc621ced4db72b688d87399 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks>
3 Date: Sat, 2 Apr 2016 19:47:21 +0200
4 Subject: [PATCH 3/3] Add missing linux/param.h header include
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Fixes the following build failure under musl:
11 imbapi.c: In function 'MapPhysicalMemory':
12 imbapi.c:109:19: error: 'EXEC_PAGESIZE' undeclared (first use in this function)
13 # define PAGESIZE EXEC_PAGESIZE
15 Upstream status: Pending
16 https://sourceforge.net/p/ipmitool/mailman/message/35007330/
18 Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
19 ---
20 src/plugins/imb/imbapi.c | 3 +++
21 1 file changed, 3 insertions(+)
23 diff --git a/src/plugins/imb/imbapi.c b/src/plugins/imb/imbapi.c
24 index 899c47a..8a6421d 100644
25 --- a/src/plugins/imb/imbapi.c
26 +++ b/src/plugins/imb/imbapi.c
27 @@ -95,6 +95,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 #include <stdlib.h>
29 #include <fcntl.h>
30 #include <string.h>
31 +#ifdef __linux__
32 +#include <linux/param.h>
33 +#endif
34 #endif
35 #include "imbapi.h"
36 #include <asm/socket.h>
37 --
38 2.8.0