os: Always compile ListenOnOpenFD() and export it
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 19 Mar 2014 05:05:58 +0000 (22:05 -0700)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 19 Mar 2014 23:23:09 +0000 (09:23 +1000)
commit62d584d63190c6c8cef5fd49d87b1cb29358a434
tree9641ee652d3e4d372cc5e51e82f56d7563469a51
parent797781c7bfd7a0df354fb85aa73df4560828b90b
os: Always compile ListenOnOpenFD() and export it

This function was written to allow the X server to inherit the listen
socket from launchd on OS X.  The code is not specific to OS X though
and will be useful for on-demand launched Xwayland servers.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
include/os.h
os/connection.c