]> git.baikalelectronics.ru Git - kernel.git/commit
include/uapi/linux/ipx.h: fix conflicting defitions with glibc netipx/ipx.h
authorMikko Rapeli <mikko.rapeli@iki.fi>
Mon, 22 Aug 2016 18:33:21 +0000 (20:33 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Aug 2016 23:25:15 +0000 (16:25 -0700)
commitf6682e638b9e9d8b971b64fb34a114140844543a
tree4dd2b23efb3f7fa13a92c29799bb827dbe7ed494
parentf05c7ff459cf37740464248681e9cbceac4b47a0
include/uapi/linux/ipx.h: fix conflicting defitions with glibc netipx/ipx.h

Fixes these compiler warnings via libc-compat.h when glibc netipx/ipx.h is
included before linux/ipx.h:

./linux/ipx.h:9:8: error: redefinition of ‘struct sockaddr_ipx’
./linux/ipx.h:26:8: error: redefinition of ‘struct ipx_route_definition’
./linux/ipx.h:32:8: error: redefinition of ‘struct ipx_interface_definition’
./linux/ipx.h:49:8: error: redefinition of ‘struct ipx_config_data’
./linux/ipx.h:58:8: error: redefinition of ‘struct ipx_route_def’

Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/ipx.h
include/uapi/linux/libc-compat.h