SO_PROTOCOL is platform-dependent
commit5e70d80e7d7752a1df16b871d57fbcd8334a44e6
authorJakub Hrozek <jakub.hrozek@gmail.com>
Thu, 2 Oct 2014 05:04:15 +0000 (2 07:04 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 2 Oct 2014 07:35:10 +0000 (2 09:35 +0200)
tree319b1b8806ad434610d79505f34b1afc049bc8b2
parent616364378da073f841d46fb299c81adb05d5222d
SO_PROTOCOL is platform-dependent

SO_PROTOCOL is not defined on all platforms. In particular, OSX doesn't
include it and so far I haven't found any compatible declaration.

Signed-off-by: Jakub Hrozek <jakub.hrozek@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
lib/socket_wrapper/socket_wrapper.c