os: access.c: drop unnecessary ifdef
Conditional on ipv6 around including <arpa/inet.h> isn't necessary. The only reason target not having it is win32, but it doesn't enable SIOCGLIFCONF anyways. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1539>
This commit is contained in:
parent
842e866155
commit
9d6a1d1118
|
@ -174,9 +174,7 @@ SOFTWARE.
|
||||||
/* #endif */
|
/* #endif */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(IPv6) && defined(AF_INET6)
|
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* WIN32 */
|
#endif /* WIN32 */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue