summaryrefslogtreecommitdiffstats
path: root/libmount/python
diff options
context:
space:
mode:
authorKarel Zak2016-04-18 13:19:12 +0200
committerKarel Zak2016-04-18 13:19:12 +0200
commit799746848439c5e778930f01456c26155e34f69a (patch)
treea677e7ac6370b82225132f07e83fbe34df0ec536 /libmount/python
parentlosetup: fix outdated comment (diff)
downloadkernel-qcow2-util-linux-799746848439c5e778930f01456c26155e34f69a.tar.gz
kernel-qcow2-util-linux-799746848439c5e778930f01456c26155e34f69a.tar.xz
kernel-qcow2-util-linux-799746848439c5e778930f01456c26155e34f69a.zip
pylibmount: include c.h
... for sys/sysmacros.h and major() and minor() macros. Reported-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/python')
-rw-r--r--libmount/python/pylibmount.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmount/python/pylibmount.h b/libmount/python/pylibmount.h
index 7a37014f1..bf3278def 100644
--- a/libmount/python/pylibmount.h
+++ b/libmount/python/pylibmount.h
@@ -4,6 +4,7 @@
#include <Python.h>
#include <structmember.h>
+#include "c.h"
#include "libmount.h"
#define CONFIG_PYLIBMOUNT_DEBUG