summaryrefslogtreecommitdiff
blob: 211a50225eb8c63f0c816ffcdfb145f384a6785f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
needed for exit() prototype

--- a/libhfsp/src/os.c
+++ b/libhfsp/src/os.c
@@ -46,6 +46,7 @@ int fstat(int, struct stat *);
 # endif
 
 # include <stdio.h>
+# include <stdlib.h>
 
 
 # include <errno.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 <stdlib.h>
 
 #include "libhfsp.h"
 #include "hfstime.h"