diff options
Diffstat (limited to 'src/helper')
-rw-r--r-- | src/helper/replacements.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/helper/replacements.h b/src/helper/replacements.h index 2b3ea73a..3598dd9f 100644 --- a/src/helper/replacements.h +++ b/src/helper/replacements.h @@ -40,6 +40,12 @@ #define ENOTSUP 134 /* Not supported */ #endif +/* for systems that do not support O_BINARY + * linux being one of them */ +#ifndef O_BINARY +#define O_BINARY 0 +#endif + #ifndef HAVE_SYS_TIME_H #ifndef _TIMEVAL_DEFINED |