diff options
author | Mike Frysinger | 2016-03-07 23:26:33 +0100 |
---|---|---|
committer | Karel Zak | 2016-03-08 14:21:55 +0100 |
commit | 46a40c018438b7b2b25083a5e5a4a21055a0c1e9 (patch) | |
tree | 157502c9e879d902ad85008b95e763c8fb98ab69 /libmount/python | |
parent | tests: don't compare btrfs mount options (diff) | |
download | kernel-qcow2-util-linux-46a40c018438b7b2b25083a5e5a4a21055a0c1e9.tar.gz kernel-qcow2-util-linux-46a40c018438b7b2b25083a5e5a4a21055a0c1e9.tar.xz kernel-qcow2-util-linux-46a40c018438b7b2b25083a5e5a4a21055a0c1e9.zip |
include sysmacros.h where used
BSD/Linux systems stick major/minor/makedev in sysmacros.h. Newer Linux
libraries have been moving away from including sysmacros.h implicitly via
sys/types.h, so include it directly.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libmount/python')
-rw-r--r-- | libmount/python/fs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmount/python/fs.c b/libmount/python/fs.c index 0789d3797..651a7c511 100644 --- a/libmount/python/fs.c +++ b/libmount/python/fs.c @@ -27,6 +27,7 @@ #include "pylibmount.h" #include <errno.h> +#include <sys/sysmacros.h> #define Fs_HELP "Fs(source=None, root=None, target=None, fstype=None, options=None, attributes=None, freq=0, passno=0)" |