]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
pylibmount: include c.h
authorKarel Zak <kzak@redhat.com>
Mon, 18 Apr 2016 11:19:12 +0000 (13:19 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 14 Jun 2016 09:19:28 +0000 (11:19 +0200)
... for sys/sysmacros.h and major() and minor() macros.

Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/python/pylibmount.h

index 7a37014f1c95f5f9621407d99238fe8b621b8654..bf3278defd6c65dea4fba117a51c524379570deb 100644 (file)
@@ -4,6 +4,7 @@
 #include <Python.h>
 #include <structmember.h>
 
+#include "c.h"
 #include "libmount.h"
 
 #define CONFIG_PYLIBMOUNT_DEBUG