compositor: work around missing SOCK_CLOEXEC
authorPekka Paalanen <ppaalanen@gmail.com>
Wed, 30 May 2012 12:53:41 +0000 (15:53 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 31 May 2012 17:52:20 +0000 (13:52 -0400)
commit51aaf646db84b35a317a576459cd9a06c767b800
treec94b5c1cdd5e9460fc241e77228a205c1f241bd8
parent7a1b32a19888bb4f4a47dc951cf5d72db0899c11
compositor: work around missing SOCK_CLOEXEC

Android does not have SOCK_CLOEXEC, so implement a wrapper that falls
back.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
shared/Makefile.am
shared/os-compatibility.c [new file with mode: 0644]
shared/os-compatibility.h [new file with mode: 0644]
src/compositor.c