Package: mame / 0.206+dfsg.1-1

kfreebsd_dirent.h_path.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
diff --git a/3rdparty/bx/include/compat/freebsd/dirent.h b/3rdparty/bx/include/compat/freebsd/dirent.h
index b4f586b..5f52d2d 100644
--- a/3rdparty/bx/include/compat/freebsd/dirent.h
+++ b/3rdparty/bx/include/compat/freebsd/dirent.h
@@ -1 +1,5 @@
-#include <sys/dirent.h>
+#if defined(__GLIBC__)
+#   include_next <dirent.h>
+#else
+#   include <sys/dirent.h>
+#endif