summaryrefslogtreecommitdiff
path: root/hfsplusutils/hfsplusutils-1.0.4-stdlib.patch
blob: 211a50225eb8c63f0c816ffcdfb145f384a6785f (plain)
    1 needed for exit() prototype
    2 
    3 --- a/libhfsp/src/os.c
    4 +++ b/libhfsp/src/os.c
    5 @@ -46,6 +46,7 @@ int fstat(int, struct stat *);
    6  # endif
    7  
    8  # include <stdio.h>
    9 +# include <stdlib.h>
   10  
   11  
   12  # include <errno.h>
   13 --- a/libhfsp/src/record.c
   14 +++ b/libhfsp/src/record.c
   15 @@ -32,6 +32,7 @@
   16  #include <errno.h>
   17  #include <stdio.h>
   18  #include <string.h>
   19 +#include <stdlib.h>
   20  
   21  #include "libhfsp.h"
   22  #include "hfstime.h"

Generated by cgit