kfreebsd_dirent.h_path
authorDebian Games Team <pkg-games-devel@lists.alioth.debian.org>
Fri, 30 Dec 2022 17:08:54 +0000 (18:08 +0100)
committerCesare Falco <c.falco@ubuntu.com>
Fri, 30 Dec 2022 17:08:54 +0000 (18:08 +0100)
Gbp-Pq: Name kfreebsd_dirent.h_path.patch

3rdparty/bx/include/compat/freebsd/dirent.h

index b4f586b1890f3f5a9343b7acd2a7121e7cf1a978..5f52d2d0ab5f573d79a60ed208b7d9ad5125fb40 100644 (file)
@@ -1 +1,5 @@
-#include <sys/dirent.h>
+#if defined(__GLIBC__)
+#   include_next <dirent.h>
+#else
+#   include <sys/dirent.h>
+#endif