--- 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> #include "libfec.h" /*