xapi-project/stdext — pull request #7 by djs55 (2014-08-07 15:57:02+00:00)
Title: Fix build on OS X

* blkgetsize_stubs.c is from mirage/mirage-block-unix
* O_DIRECT is not present on OS X; use the closest analog
* setsockopt level SOL_TCP is IPPROTO_TCP on OS X
* setsockopt TCP_KEEPIDLE is Linux-specific

Signed-off-by: David Scott