summaryrefslogtreecommitdiff
blob: 37abcbd318993d11f51330f3b9efdc6555363370 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
needed for mem* funcs

--- a/libhfsp/src/unicode.c
+++ b/libhfsp/src/unicode.c
@@ -16,7 +16,7 @@
 #include <stdlib.h>
 #include <endian.h>
 #include <byteswap.h>
-#include <linux/string.h>
+#include <string.h>
 
 #define __USE_GNU
     /* need wcsrtomb */
--- a/libhfsp/src/partitions.c
+++ b/libhfsp/src/partitions.c
@@ -31,6 +31,7 @@
 #include "os.h"
 #include "libhfsp.h"
 
+#include <string.h>
 #include <stdlib.h>
 
 /*
--- a/libhfsp/src/record.c
+++ b/libhfsp/src/record.c
@@ -32,6 +32,7 @@
 
 #include <errno.h>
 #include <stdio.h>
+#include <string.h>
 
 #include "libhfsp.h"
 #include "hfstime.h"