aboutsummaryrefslogtreecommitdiffstats
path: root/main/partimage/partimage-include-sysmacros.patch
diff options
context:
space:
mode:
authorMike Sullivan <mksully22@gmail.com>2019-08-12 15:50:35 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2019-08-14 11:49:18 +0000
commitd281c3a623fe547a97512261b8efc3e79113d3d5 (patch)
tree635d91aaa6c05c793ec75ab1396189873db4730f /main/partimage/partimage-include-sysmacros.patch
parentb20a725cbe535835fe21a8029cdd4a89ead0a35b (diff)
downloadaports-d281c3a623fe547a97512261b8efc3e79113d3d5.tar.bz2
aports-d281c3a623fe547a97512261b8efc3e79113d3d5.tar.xz
main/partimage: add required sysmacros.h header
Diffstat (limited to 'main/partimage/partimage-include-sysmacros.patch')
-rw-r--r--main/partimage/partimage-include-sysmacros.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/partimage/partimage-include-sysmacros.patch b/main/partimage/partimage-include-sysmacros.patch
new file mode 100644
index 0000000000..cd84e2a3b8
--- /dev/null
+++ b/main/partimage/partimage-include-sysmacros.patch
@@ -0,0 +1,10 @@
+--- a/src/client/misc.cpp
++++ b/src/client/misc.cpp
+@@ -40,6 +40,7 @@
+
+ #include <ctype.h>
+ #include <sys/types.h>
++#include <sys/sysmacros.h>
+ #include <sys/ioctl.h>
+ #include <sys/mount.h>
+ #include <sys/time.h>