diff --git a/patches/libbsd-0.9.1.local.patch b/patches/libbsd-0.9.1.local.patch
index 9de2d3f..fc2eb15 100644
--- a/patches/libbsd-0.9.1.local.patch
+++ b/patches/libbsd-0.9.1.local.patch
@@ -318,3 +318,14 @@ diff -Nru libbsd-0.9.1.orig/src/vis.c libbsd-0.9.1/src/vis.c
  
  int
  stravis(char **mbdstp, const char *mbsrc, int flags)
+--- libbsd-0.9.1/src/funopen.c.orig	2018-04-21 21:30:22.000000000 +0000
++++ libbsd-0.9.1/src/funopen.c	2019-01-10 17:35:49.856000000 +0000
+@@ -137,7 +137,7 @@
+ 
+ 	return fopencookie(cookiewrap, mode, funcswrap);
+ }
+-#elif defined(__MUSL__)
++#elif defined(__MUSL__) || defined(__midipix__)
+ /*
+  * This is unimplementable on musl based systems, and upstream has stated
+  * they will not add the needed support to implement it. Just ignore this