[gparted] Add missing Device.h include into GParted_Core and Win_GParted



commit 1d8cbd01255bcd499effc7e180db020d6474799f
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date:   Fri May 10 17:34:14 2019 +0100

    Add missing Device.h include into GParted_Core and Win_GParted
    
    The files GParted_Core.h, GParted_Core.cc and Win_GParted.cc all use the
    Device type but don't include Device.h for it's definition.  Include it.

 include/GParted_Core.h | 1 +
 src/GParted_Core.cc    | 1 +
 src/Win_GParted.cc     | 1 +
 3 files changed, 3 insertions(+)
---
diff --git a/include/GParted_Core.h b/include/GParted_Core.h
index b6274c71..a46cd40c 100644
--- a/include/GParted_Core.h
+++ b/include/GParted_Core.h
@@ -19,6 +19,7 @@
 #define GPARTED_GPARTED_CORE_H
 
 #include "BlockSpecial.h"
+#include "Device.h"
 #include "FileSystem.h"
 #include "Operation.h"
 #include "Partition.h"
diff --git a/src/GParted_Core.cc b/src/GParted_Core.cc
index f4709592..8069666a 100644
--- a/src/GParted_Core.cc
+++ b/src/GParted_Core.cc
@@ -18,6 +18,7 @@
 #include "GParted_Core.h"
 #include "CopyBlocks.h"
 #include "BlockSpecial.h"
+#include "Device.h"
 #include "DMRaid.h"
 #include "FileSystem.h"
 #include "FS_Info.h"
diff --git a/src/Win_GParted.cc b/src/Win_GParted.cc
index 2fdb2a7b..10a6418d 100644
--- a/src/Win_GParted.cc
+++ b/src/Win_GParted.cc
@@ -16,6 +16,7 @@
  */
 
 #include "Win_GParted.h"
+#include "Device.h"
 #include "Dialog_Progress.h"
 #include "DialogFeatures.h"
 #include "DialogPasswordEntry.h"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]