diff options
Diffstat (limited to 'sys-block/partimage/files/partimage-0.6.9-missing-includes.patch')
-rw-r--r-- | sys-block/partimage/files/partimage-0.6.9-missing-includes.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/sys-block/partimage/files/partimage-0.6.9-missing-includes.patch b/sys-block/partimage/files/partimage-0.6.9-missing-includes.patch new file mode 100644 index 00000000..def27f6e --- /dev/null +++ b/sys-block/partimage/files/partimage-0.6.9-missing-includes.patch @@ -0,0 +1,37 @@ +From 0b7b162fbbab1b1d4adf61c5e33f508be0e68895 Mon Sep 17 00:00:00 2001 +From: Jory Pratt <anarchy@gentoo.org> +Date: Sun, 12 Apr 2020 13:25:49 -0500 +Subject: [PATCH] add missing includes + +--- + src/client/misc.cpp | 1 + + src/shared/common.h | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/src/client/misc.cpp b/src/client/misc.cpp +index a094803..1c96ef6 100644 +--- 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> +diff --git a/src/shared/common.h b/src/shared/common.h +index 71de058..eead7e3 100644 +--- a/src/shared/common.h ++++ b/src/shared/common.h +@@ -23,6 +23,7 @@ + #include <pthread.h> + + #include <sys/param.h> ++#include <sys/types.h> + + #include "partimage.h" + +-- +2.26.0 + |