summaryrefslogtreecommitdiffstats
path: root/rbutil/mktccboot/mktccboot.h
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/mktccboot/mktccboot.h')
-rw-r--r--rbutil/mktccboot/mktccboot.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/rbutil/mktccboot/mktccboot.h b/rbutil/mktccboot/mktccboot.h
index 2df2c54506..17179c11e7 100644
--- a/rbutil/mktccboot/mktccboot.h
+++ b/rbutil/mktccboot/mktccboot.h
@@ -25,6 +25,11 @@
#ifndef _MKTCCBOOT_H_
#define _MKTCCBOOT_H_
+/* win32 compatibility */
+#ifndef O_BINARY
+#define O_BINARY 0
+
+#endif
#ifdef __cplusplus
extern "C" {
#endif