summaryrefslogblamecommitdiff
path: root/user/vde2/musl-build-fix.patch
blob: c03459c6e9be38dcc1ad9a4c65da7991d15ef83a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15













                                                                  
diff --git a/src/vdetaplib/libvdetap.c b/src/vdetaplib/libvdetap.c
index 00cd401..c70f290 100644
--- a/src/vdetaplib/libvdetap.c
+++ b/src/vdetaplib/libvdetap.c
@@ -121,6 +121,10 @@ int open(const char *path, int flags, ...)
 		return native_open(path, flags, data);
 }
 
+/* musl apparently defines open64 as a macro */
+#ifdef open64
+#undef open64
+#endif
 int open64(const char *path, int flags, ...)
 {
 	va_list ap;