diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-27 22:54:44 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-27 22:54:44 +0200 |
commit | ba4811b1d2ac5a9d363e6000c83098f2eb885119 (patch) | |
tree | 776184456b7a9181cd29bf23e0e214e5a67dd462 /lib/fstree | |
parent | 2f1b5d44343aac079af2671e97aa3ffd5c7e4b66 (diff) |
Add a header for platform compatibillity fluff
- We don't have "endian.h" everywhere. On some BSDs its in sys and
on some BSDs the macros have different names.
- We definitely don't have sysmacros.h on non-Unix-like systems.
- Likewise for sys/types.h, sys/stat.h and their contents.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/fstree')
-rw-r--r-- | lib/fstree/fstree_from_dir.c | 1 | ||||
-rw-r--r-- | lib/fstree/fstree_from_file.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/lib/fstree/fstree_from_dir.c b/lib/fstree/fstree_from_dir.c index c31b1a0..d68fafa 100644 --- a/lib/fstree/fstree_from_dir.c +++ b/lib/fstree/fstree_from_dir.c @@ -9,7 +9,6 @@ #include "fstree.h" #include "util.h" -#include <sys/types.h> #ifdef HAVE_SYS_XATTR_H #include <sys/xattr.h> #endif diff --git a/lib/fstree/fstree_from_file.c b/lib/fstree/fstree_from_file.c index 619e83f..ec2f941 100644 --- a/lib/fstree/fstree_from_file.c +++ b/lib/fstree/fstree_from_file.c @@ -9,8 +9,6 @@ #include "fstree.h" #include "util.h" -#include <sys/sysmacros.h> -#include <sys/types.h> #include <unistd.h> #include <stdlib.h> #include <stdint.h> |