O_CLOEXIT is undefined on Mac OS X, #define it to 0 there. --- src/modules/module-cli.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/modules/module-cli.c b/src/modules/module-cli.c index 6bd0f4f..bfd58b3 100644 --- a/src/modules/module-cli.c +++ b/src/modules/module-cli.c @@ -40,6 +40,11 @@ #include "module-cli-symdef.h" +/* Mac OS X does not define O_CLOEXEC */ +#ifndef O_CLOEXEC +#define O_CLOEXEC 0 +#endif + PA_MODULE_AUTHOR("Lennart Poettering"); PA_MODULE_DESCRIPTION("Command line interface"); PA_MODULE_VERSION(PACKAGE_VERSION); -- 1.6.3.3