All of lore.kernel.org
 help / color / mirror / Atom feed
* Commit 1fe8e0... (include more headers in if_tunnel.h) breaks my user-space build.
@ 2017-01-13 19:12 Ben Greear
  2017-01-13 19:21 ` Ben Greear
  2017-01-13 19:41 ` Stephen Hemminger
  0 siblings, 2 replies; 7+ messages in thread
From: Ben Greear @ 2017-01-13 19:12 UTC (permalink / raw)
  To: netdev, mikko.rapeli

I am including netinet/ip.h, and also linux/if_tunnel.h, and the linux/ip.h conflicts with
netinet/ip.h.

Maybe my build environment is screwed up, but maybe also it would be better to
just let the user include appropriate headers before including if_tunnel.h
and revert this patch?


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>

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-01-14  6:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-13 19:12 Commit 1fe8e0... (include more headers in if_tunnel.h) breaks my user-space build Ben Greear
2017-01-13 19:21 ` Ben Greear
2017-01-13 19:41 ` Stephen Hemminger
2017-01-13 19:50   ` Ben Greear
2017-01-13 22:08     ` Stephen Hemminger
2017-01-13 22:11       ` Ben Greear
2017-01-14  6:43         ` Mikko Rapeli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.