citadel/poky/meta/recipes-devtools/mtd/mtd-utils/0001-Fix-build-with-musl.patch

29 lines
711 B
Diff

From 4dab9bed1033f797ef9b482c77342fe3fe26d0be Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 6 Oct 2015 23:51:34 +0000
Subject: [PATCH] Fix build with musl
Upstream-Status: Backport
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
---
jffsX-utils/mkfs.jffs2.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/jffsX-utils/mkfs.jffs2.c b/jffsX-utils/mkfs.jffs2.c
index 5446a16..ca5e0d5 100644
--- a/jffsX-utils/mkfs.jffs2.c
+++ b/jffsX-utils/mkfs.jffs2.c
@@ -72,6 +72,7 @@
#include <byteswap.h>
#include <crc32.h>
#include <inttypes.h>
+#include <limits.h>
#include "rbtree.h"
#include "common.h"
--
2.6.1