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:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-11-07 14:09:42 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-11-07 14:09:42 +0300
commit37947ed5524b9cc67bd047701c150499b53e7ed4 (patch)
treeb979f6f94cc5b612094fffd23b2f143d061eaa13 /source/blender/depsgraph/intern/nodes
parent9b5a32cbfb8a8565202bdccd232c53f98b62eeec (diff)
Depsgraph: Do not rely on indirectly included cstring
Also add comment why exactly cstring is needed.
Diffstat (limited to 'source/blender/depsgraph/intern/nodes')
-rw-r--r--source/blender/depsgraph/intern/nodes/deg_node.cc1
-rw-r--r--source/blender/depsgraph/intern/nodes/deg_node_component.cc1
2 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/nodes/deg_node.cc b/source/blender/depsgraph/intern/nodes/deg_node.cc
index 62062314b88..57b25c10670 100644
--- a/source/blender/depsgraph/intern/nodes/deg_node.cc
+++ b/source/blender/depsgraph/intern/nodes/deg_node.cc
@@ -31,6 +31,7 @@
#include "intern/nodes/deg_node.h"
#include <stdio.h>
+#include <cstring> /* required for STREQ later on. */
#include "BLI_utildefines.h"
#include "BLI_ghash.h"
diff --git a/source/blender/depsgraph/intern/nodes/deg_node_component.cc b/source/blender/depsgraph/intern/nodes/deg_node_component.cc
index 9d2c6169e23..06f91ac7fdc 100644
--- a/source/blender/depsgraph/intern/nodes/deg_node_component.cc
+++ b/source/blender/depsgraph/intern/nodes/deg_node_component.cc
@@ -31,6 +31,7 @@
#include "intern/nodes/deg_node_component.h"
#include <stdio.h>
+#include <cstring> /* required for STREQ later on. */
extern "C" {
#include "BLI_utildefines.h"