Message ID | 1429827173-1739-3-git-send-email-joerg.krause@embedded.rocks |
---|---|
State | Superseded |
Headers | show |
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@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
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
Add missing #include <sys/types.h> for u_long. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> --- lib/libfec.c | 1 + 1 file changed, 1 insertion(+)