[PATCH 3/3] lib/libfec.c: fix build against musl
Jörg Krause
joerg.krause at embedded.rocks
Thu Apr 23 15:12:53 PDT 2015
Add missing #include <sys/types.h> for u_long.
Signed-off-by: Jörg Krause <joerg.krause at embedded.rocks>
---
lib/libfec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/libfec.c b/lib/libfec.c
index ff5a127..c5e7749 100644
--- a/lib/libfec.c
+++ b/lib/libfec.c
@@ -45,6 +45,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/types.h>
/*
* stuff used for testing purposes only
--
2.3.6
More information about the linux-mtd
mailing list