]> 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)
commit5bc1cb0c19937f727dfe9971fbab6a1c297da0a2
tree4dd2b23efb3f7fa13a92c29799bb827dbe7ed494
parent500731c824a72570d4572d97cc829176ec5a9141
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