3b1da53fbd155b4b65bb0fc7bea83a9e4209afff
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / mtd / 0002-lib-libfec.c-fix-build-against-musl.patch
1 From 7086438e488fa57c1add720590256f2c92602877 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks>
3 Date: Tue, 31 Mar 2015 00:31:34 +0200
4 Subject: [PATCH 2/4] lib/libfec.c: fix build against musl
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Add missing #include <sys/types.h> for u_long.
10
11 Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
12 ---
13  lib/libfec.c | 1 +
14  1 file changed, 1 insertion(+)
15
16 diff --git a/lib/libfec.c b/lib/libfec.c
17 index ff5a127..c5e7749 100644
18 --- a/lib/libfec.c
19 +++ b/lib/libfec.c
20 @@ -45,6 +45,7 @@
21  #include <stdio.h>
22  #include <stdlib.h>
23  #include <string.h>
24 +#include <sys/types.h>
25
26  /*
27   * stuff used for testing purposes only
28 --
29 2.3.6