Signed-off-by: Mikko Rapeli <mikko.rapeli@xxxxxx> --- net/irda_setsockopt.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/net/irda_setsockopt.c b/net/irda_setsockopt.c index e6255b2..692ef52 100644 --- a/net/irda_setsockopt.c +++ b/net/irda_setsockopt.c @@ -1,5 +1,9 @@ #include <stdlib.h> #include <sys/socket.h> /* old irda.h is broken */ + +/* old irda.h does not include something which defines sa_family_t */ +#include <netinet/in.h> + #include <linux/irda.h> #include "net.h" #include "maps.h" // page_rand -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe trinity" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html