summaryrefslogtreecommitdiffstats
path: root/src/util/db2/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/db2/include')
-rw-r--r--src/util/db2/include/db-int.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/db2/include/db-int.h b/src/util/db2/include/db-int.h
index 78be4c8a3..f9da8a284 100644
--- a/src/util/db2/include/db-int.h
+++ b/src/util/db2/include/db-int.h
@@ -205,4 +205,7 @@ void __dbpanic __P((DB *dbp));
#define S_ISSOCK(m) ((m & 0170000) == 0140000) /* socket */
#endif
+#ifndef O_BINARY
+#define O_BINARY 0 /* Needed for Win32 compiles */
+#endif
#endif /* _DB_INT_H_ */