summaryrefslogtreecommitdiffstats
path: root/runtime/rsyslog.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-04-03 12:52:53 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-04-03 12:52:53 +0200
commit1a08fa5ded3087a3b60d87a20d25a4ec589eba21 (patch)
tree9dd51c4b9db468be41a63f4286029d95bef0bf0b /runtime/rsyslog.h
parent5f397495524ffe460fe93d2f1069f3077f48b7b0 (diff)
parentec0e2c3e7df6addc02431628daddfeae49b92af7 (diff)
downloadrsyslog-1a08fa5ded3087a3b60d87a20d25a4ec589eba21.tar.gz
rsyslog-1a08fa5ded3087a3b60d87a20d25a4ec589eba21.tar.bz2
rsyslog-1a08fa5ded3087a3b60d87a20d25a4ec589eba21.zip
Merge branch 'master' into oracle
Diffstat (limited to 'runtime/rsyslog.h')
-rw-r--r--runtime/rsyslog.h5
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)));