summaryrefslogtreecommitdiff
path: root/sys-block/partimage/files/partimage-0.6.9-missing-includes.patch
blob: 956afe8319a682721b5d7bf9f1a259c6defe4a69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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"