• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/ipmitool/0003-Add-missing-linux-param.h-header-include.patch
Jörg KrauseJörg Krause committed 5ad021da2ac11 Apr 2016
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
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
8
​
9
Fixes the following build failure under musl:
10
​
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
14
​
15
Upstream status: Pending
16
https://sourceforge.net/p/ipmitool/mailman/message/35007330/
17
​
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(+)
22
​
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
39
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.