]> xenbits.xensource.com Git - unikraft/libs/lwip.git/commit
net/if.h: Add include guard RELEASE-0.4
authorSimon Kuenzer <simon.kuenzer@neclab.eu>
Mon, 17 Feb 2020 12:23:08 +0000 (13:23 +0100)
committerSimon Kuenzer <simon.kuenzer@neclab.eu>
Mon, 17 Feb 2020 15:30:22 +0000 (16:30 +0100)
commit775737587b7bb81d8dbbc6193ce02d4fd1219c44
tree9c7e222eb9e099399ea5c2ec9e4e6062cdd894ae
parent3bababf2a508cf854cafe706172ccaab6792c6e1
net/if.h: Add include guard

Expose `struct ifconf` also when _GNU_SOURCE is defined but add an
include guard for the header. This way, double definitons of the
struct are avoided.

Signed-off-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
include/net/if.h