work around Linux systems that don't provide SOCK_CLOEXEC or SOCK_NONBLOCK
authorhjelmn <Nathan Hjelm hjelmn@cs.unm.edu>
Mon, 29 Jul 2013 16:22:53 +0000 (10:22 -0600)
committerhjelmn <Nathan Hjelm hjelmn@cs.unm.edu>
Tue, 30 Jul 2013 15:10:49 +0000 (09:10 -0600)
commit242d49c636b390d64740b79953c68c2b28cae8ff
treeb9b51860a8df69c1b08313c531b8d65b93b2ff19
parent252e193d9a910389baf9aa0736551f388c43e95c
work around Linux systems that don't provide SOCK_CLOEXEC or SOCK_NONBLOCK

These options were added in 2.6.27 and are not available on all kernels
that support netlink. Set these options using fcntl when SOCK_CLOEXEC and
SOCK_NONBLOCK are not available.

Closes #124.
libusb/os/linux_netlink.c
libusb/version_nano.h