summaryrefslogtreecommitdiff
path: root/src/dirent/versionsort.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dirent/versionsort.c')
-rw-r--r--src/dirent/versionsort.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dirent/versionsort.c b/src/dirent/versionsort.c
index 97696105..410cb703 100644
--- a/src/dirent/versionsort.c
+++ b/src/dirent/versionsort.c
@@ -1,8 +1,12 @@
#define _GNU_SOURCE
#include <string.h>
#include <dirent.h>
+#include "libc.h"
int versionsort(const struct dirent **a, const struct dirent **b)
{
return strverscmp((*a)->d_name, (*b)->d_name);
}
+
+#undef versionsort64
+LFS64(versionsort);