diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-02 15:37:17 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-02 15:37:17 +0200 |
commit | 8de35eaa2c9017df885dfd071a89288ca6a0e3af (patch) | |
tree | c6cb185d912c5fa91a3dbd1a549618a251401078 /runtime/rsyslog.h | |
parent | eb807027af9e126a212b0630c5873dddae48963b (diff) | |
download | rsyslog-8de35eaa2c9017df885dfd071a89288ca6a0e3af.tar.gz rsyslog-8de35eaa2c9017df885dfd071a89288ca6a0e3af.tar.xz rsyslog-8de35eaa2c9017df885dfd071a89288ca6a0e3af.zip |
clean compile on solaris
Diffstat (limited to 'runtime/rsyslog.h')
-rw-r--r-- | runtime/rsyslog.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h index 899f5e13..032d8c04 100644 --- a/runtime/rsyslog.h +++ b/runtime/rsyslog.h @@ -341,6 +341,11 @@ typedef enum rsObjectID rsObjID; # define __attribute__(x) /*NOTHING*/ #endif +#ifndef O_CLOEXEC +/* of course, this limits the functionality... */ +# define O_CLOEXEC 0 +#endif + /* The following prototype is convenient, even though it may not be the 100% correct place.. -- rgerhards 2008-01-07 */ void dbgprintf(char *, ...) __attribute__((format(printf, 1, 2))); |