Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/cycles/device/device_network.h')
-rw-r--r--intern/cycles/device/device_network.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/cycles/device/device_network.h b/intern/cycles/device/device_network.h
index ebb1e43a7a7..775517586d3 100644
--- a/intern/cycles/device/device_network.h
+++ b/intern/cycles/device/device_network.h
@@ -19,6 +19,8 @@
#ifndef __DEVICE_NETWORK_H__
#define __DEVICE_NETWORK_H__
+#ifdef WITH_NETWORK
+
#include <boost/archive/text_iarchive.hpp>
#include <boost/archive/text_oarchive.hpp>
#include <boost/array.hpp>
@@ -300,5 +302,7 @@ private:
CCL_NAMESPACE_END
+#endif
+
#endif /* __DEVICE_NETWORK_H__ */