diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-05 19:15:00 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-05 19:15:00 +0200 |
commit | 52a2f53a9aef1c3b69150dc585874a74dab79794 (patch) | |
tree | f0c501f1435b780a0157b3df2b1c7b43c180e497 /include/sqfs/predef.h | |
parent | f8a92529ec04b560b5b9e647b976892412f78134 (diff) |
Cleanup: move inclusion of type headers to predef.h
Instead of including stddef/stdint/stdbool etc... all over the place,
move it to predef.h which is included from all other headers.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/sqfs/predef.h')
-rw-r--r-- | include/sqfs/predef.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sqfs/predef.h b/include/sqfs/predef.h index 210f306..0fec9e2 100644 --- a/include/sqfs/predef.h +++ b/include/sqfs/predef.h @@ -7,6 +7,11 @@ #ifndef SQFS_PREDEF_H #define SQFS_PREDEF_H +#include <sys/types.h> +#include <stdbool.h> +#include <stddef.h> +#include <stdint.h> + #if defined(_WIN32) || defined(__CYGWIN__) #ifdef SQFS_BUILDING_DLL #if defined(__GNUC__) || defined(__clang__) |