From: Jörg K. <joe...@em...> - 2016-04-11 19:22:52
|
Fixes the following build failure under musl: imbapi.c: In function 'MapPhysicalMemory': imbapi.c:109:19: error: 'EXEC_PAGESIZE' undeclared (first use in this function) # define PAGESIZE EXEC_PAGESIZE Signed-off-by: Jörg Krause <joe...@em...cks> --- Changes v2 -> v3: - none Changes v1 -> v2: - Improve commit message --- src/plugins/imb/imbapi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/imb/imbapi.c b/src/plugins/imb/imbapi.c index 899c47a..8a6421d 100644 --- a/src/plugins/imb/imbapi.c +++ b/src/plugins/imb/imbapi.c @@ -95,6 +95,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include <stdlib.h> #include <fcntl.h> #include <string.h> +#ifdef __linux__ +#include <linux/param.h> +#endif #endif #include "imbapi.h" #include <asm/socket.h> -- 2.8.0 |