mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
19 lines
323 B
Diff
19 lines
323 B
Diff
--- libdm/getdents.c
|
|
+++ libdm/getdents.c
|
|
@@ -211,6 +211,8 @@
|
|
# endif
|
|
}
|
|
#endif
|
|
+
|
|
+#ifdef __NR_getdents
|
|
{
|
|
size_t red_nbytes;
|
|
struct kernel_dirent *skdp, *kdp;
|
|
@@ -267,6 +269,7 @@
|
|
kdp = (struct kernel_dirent *) (((char *) kdp) + kdp->d_reclen);
|
|
}
|
|
}
|
|
+#endif
|
|
|
|
return (char *) dp - buf;
|
|
}
|