[PATCH 3/3] lib/libfec.c: fix build against musl

Brian Norris computersforpeace at gmail.com
Thu May 28 16:39:13 PDT 2015


On Fri, Apr 24, 2015 at 12:12:53AM +0200, Jörg Krause wrote:
> Add missing #include <sys/types.h> for u_long.

I pushed a different patch from another contributor that kills off the
u_long usage, so I think this should no longer be necessary. Let me know
if you still see issues.

Thanks,
Brian

> 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



More information about the linux-mtd mailing list