Skip to content

Commit

Permalink
Fix uclibc build
Browse files Browse the repository at this point in the history
Without sys/types.h the build breaks with errors like this:

parse_file.h:28:5: error: unknown type name ‘off_t’
     off_t *map;
     ^
  • Loading branch information
bkuhls committed May 28, 2017
1 parent 9c97483 commit 0301cb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sparse_file.h
Expand Up @@ -18,6 +18,7 @@
#define SPARSE_FILE_H

#include <confuse.h>
#include <sys/types.h>

struct sparse_file_map
{
Expand Down

0 comments on commit 0301cb4

Please sign in to comment.