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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cddl/compat/opensolaris/include/fcntl.h b/cddl/compat/opensolaris/include/fcntl.h
index 9b6c3f9ee62d..548918aaab3a 100644
--- a/cddl/compat/opensolaris/include/fcntl.h
+++ b/cddl/compat/opensolaris/include/fcntl.h
@@ -32,6 +32,7 @@
#include_next <fcntl.h>
-#define open64 open
+#define open64(...) open(__VA_ARGS__)
+#define openat64(...) openat(__VA_ARGS__)
#endif