Jelajahi Sumber

include/uapi/linux/if_tunnel.h: include linux/if.h, linux/ip.h and linux/in6.h

Fixes userspace compilation errors like:

error: field ‘iph’ has incomplete type
error: field ‘prefix’ has incomplete type

Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
Mikko Rapeli 9 tahun lalu
induk
melakukan
1fe8e0f074
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  1. 3 0
      include/uapi/linux/if_tunnel.h

+ 3 - 0
include/uapi/linux/if_tunnel.h

@@ -2,6 +2,9 @@
 #define _UAPI_IF_TUNNEL_H_
 
 #include <linux/types.h>
+#include <linux/if.h>
+#include <linux/ip.h>
+#include <linux/in6.h>
 #include <asm/byteorder.h>