[PATCH v05 31/72] include/uapi/linux/mroute.h: include linux/in.h

From: Mikko Rapeli
Date: Mon Aug 22 2016 - 14:43:41 EST


Fixes userspace compile errors like:

error: field âvifc_lcl_addrâ has incomplete type
struct in_addr vifc_lcl_addr; /* Local interface address */

Signed-off-by: Mikko Rapeli <mikko.rapeli@xxxxxx>
---
include/uapi/linux/mroute.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/uapi/linux/mroute.h b/include/uapi/linux/mroute.h
index cf94301..4540653 100644
--- a/include/uapi/linux/mroute.h
+++ b/include/uapi/linux/mroute.h
@@ -3,6 +3,7 @@

#include <linux/sockios.h>
#include <linux/types.h>
+#include <linux/in.h>

/* Based on the MROUTING 3.5 defines primarily to keep
* source compatibility with BSD.
--
2.8.1