aboutsummaryrefslogtreecommitdiff
path: root/cddl/compat/opensolaris/include/fcntl.h
diff options
context:
space:
mode:
Diffstat (limited to 'cddl/compat/opensolaris/include/fcntl.h')
-rw-r--r--cddl/compat/opensolaris/include/fcntl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cddl/compat/opensolaris/include/fcntl.h b/cddl/compat/opensolaris/include/fcntl.h
index 548918aaab3a..b962bb4855ee 100644
--- a/cddl/compat/opensolaris/include/fcntl.h
+++ b/cddl/compat/opensolaris/include/fcntl.h
@@ -32,7 +32,9 @@
#include_next <fcntl.h>
+#ifndef open64
#define open64(...) open(__VA_ARGS__)
+#endif
#define openat64(...) openat(__VA_ARGS__)
#endif