kfreebsd_dirent.h_path
authorDebian Games Team <pkg-games-devel@lists.alioth.debian.org>
Mon, 3 Jun 2024 11:21:21 +0000 (13:21 +0200)
committerCesare Falco <c.falco@ubuntu.com>
Mon, 3 Jun 2024 11:21:21 +0000 (13:21 +0200)
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