aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/armnn/Layer.hpp3
-rw-r--r--src/armnn/test/SubgraphViewTests.cpp1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/armnn/Layer.hpp b/src/armnn/Layer.hpp
index 23561cb75e..114d69c652 100644
--- a/src/armnn/Layer.hpp
+++ b/src/armnn/Layer.hpp
@@ -13,6 +13,7 @@
#include <backendsCommon/WorkloadInfo.hpp>
#include "InternalTypes.hpp"
#include "SerializeLayerParameters.hpp"
+#include "DllExport.hpp"
#include <armnn/Types.hpp>
#include <armnn/Tensor.hpp>
@@ -434,7 +435,7 @@ private:
/// returned by layers which have no parameters associated with them.
/// has to be a member as it is returned as a const reference
/// declared static so that there is only ever one of them in memory
- static NullDescriptor m_NullDescriptor;
+ ARMNN_DLLEXPORT static NullDescriptor m_NullDescriptor;
};
// A layer user-provided data can be bound to (e.g. inputs, outputs).
diff --git a/src/armnn/test/SubgraphViewTests.cpp b/src/armnn/test/SubgraphViewTests.cpp
index e8012b575c..212ae0ee01 100644
--- a/src/armnn/test/SubgraphViewTests.cpp
+++ b/src/armnn/test/SubgraphViewTests.cpp
@@ -18,6 +18,7 @@
#include <queue>
#include <random>
#include <chrono>
+#include <numeric>
using namespace armnn;