summaryrefslogtreecommitdiff
path: root/sys-libs/libhugetlbfs/files/libhugetlbfs-2.23-musl-ino_t-fix.patch
blob: f408f9fd6ac057d26beaa41a85597cc102af3097 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Include dirent.h for ino_t
# Fixes error: unknown typename 'ino_t'
# Closes: https://bugs.gentoo.org/828830
--- a/tests/hugetests.h
+++ b/tests/hugetests.h
@@ -22,6 +22,7 @@

 #include <errno.h>
 #include <string.h>
+#include <dirent.h>
 #include <unistd.h>

 #include "libhugetlbfs_privutils.h"