diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2014-01-06 15:12:05 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2014-01-06 15:12:05 +0000 |
commit | 886c282679678fded4fdce122a3da4d646f6670c (patch) | |
tree | 26a30a75c6bca99b00ff6d4d2a4f7650eef72a75 | |
parent | ccf39fcdc1208d4ae293ef8a78d6f7db9b712cdc (diff) | |
download | rtmux-886c282679678fded4fdce122a3da4d646f6670c.tar.gz rtmux-886c282679678fded4fdce122a3da4d646f6670c.tar.bz2 rtmux-886c282679678fded4fdce122a3da4d646f6670c.zip |
Use 0 if O_DIRECTORY is missing, reported by Dagobert Michelsen.
-rw-r--r-- | compat.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -125,6 +125,10 @@ typedef uint64_t u_int64_t; #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) #endif +#ifndef O_DIRECTORY +#define O_DIRECTORY 0 +#endif + #ifndef INFTIM #define INFTIM -1 #endif |