diff options
author | chrBrd <chris@binaryspanner.com> | 2018-07-28 02:24:33 +0100 |
---|---|---|
committer | chrBrd <chris@binaryspanner.com> | 2018-07-28 02:58:22 +0100 |
commit | 7bca50a11dbfa5cd325540c7d99a83a3ed1aafd9 (patch) | |
tree | 113d77082f95d59ccec8f9ec553f4f5e17eabbbf | |
parent | e9d3221ecd0b6e0782cd682fad9deba665a14ea6 (diff) | |
download | xattr-7bca50a11dbfa5cd325540c7d99a83a3ed1aafd9.tar.gz |
Always include `sys/types.h` when building lib.
-rw-r--r-- | xattr/lib_build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xattr/lib_build.py b/xattr/lib_build.py index a687cea..7152721 100644 --- a/xattr/lib_build.py +++ b/xattr/lib_build.py @@ -27,10 +27,10 @@ ssize_t xattr_flistxattr(int, char *, size_t, int); C_SRC = """ #include "Python.h" +#include <sys/types.h> #ifdef __FreeBSD__ #include <sys/extattr.h> #elif defined(__SUN__) || defined(__sun__) || defined(__sun) -#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> |