diff --git a/SConscript b/SConscript
index bde873bfb36cc9e376e34fd2336ec662326b4be6..6d313e211d95ac4bd441d37bd5ae6be80ec8b9ba 100644
--- a/SConscript
+++ b/SConscript
@@ -9,7 +9,6 @@ myenv=env.Clone()
 
 cpppath='''
 	 $SECURITY_TRANSFORMS_HOME/third_party/elfio-code
-	 $PEASOUP_HOME/irdb-libs/libStructDiv/include
 	 $PEASOUP_HOME/irdb-libs/libEXEIO/include
          $IRDB_SDK/include
         '''
diff --git a/mg.cpp b/mg.cpp
index 5fed0a33f7e121f576f9f935e22d04d2816bf2ad..412ce04fd6eafc1ae52397098e283fed0153fc45 100644
--- a/mg.cpp
+++ b/mg.cpp
@@ -4,7 +4,6 @@
 #include <assert.h>
 #include <stdexcept>
 #include <unistd.h>
-#include <libStructDiv.h>
 #include <memory>
 #include <inttypes.h>
 #include <algorithm>
@@ -17,7 +16,6 @@
 
 using namespace std;
 using namespace IRDB_SDK;
-using namespace libStructDiv;
 using namespace EXEIO;
 
 #define ALLOF(s) begin(s), end(s)
@@ -96,7 +94,6 @@ MoveGlobals_t<T_Sym,T_Rela,T_Rel,T_Dyn,T_Extractor>::MoveGlobals_t(
 	const bool p_use_stars)
 	:
 	Transform_t(p_variantIR),
-	struct_div(NULL),
 	exe_reader(NULL),
 	tied_unpinned(0),
 	tied_pinned(0),
diff --git a/mg.hpp b/mg.hpp
index dc8a24df3bfdea7863949dd686991e5b0444b2f8..796be6f842496e3afbfd3597d26107f8771d81e4 100644
--- a/mg.hpp
+++ b/mg.hpp
@@ -8,7 +8,6 @@
 #include <set>
 #include <tuple>
 
-#include <libStructDiv.h>
 #include <exeio.h>
 
 #include <elfio/elfio.hpp>
@@ -67,8 +66,6 @@ class MoveGlobals_t : public IRDB_SDK::Transform_t
 		bool AreScoopsAdjacent(const IRDB_SDK::DataScoop_t *a, const IRDB_SDK::DataScoop_t *b) const;
 
 
-		libStructDiv::StructuredDiversity_t *struct_div;
-
 		std::vector<T_Sym> static_symbols;
 		std::vector<T_Sym> dynamic_symbols;
 		EXEIO::exeio* exe_reader;