fix building depsgraph after recent changes
authorMartijn Berger <mberger@denc.com>
Mon, 7 Nov 2016 11:32:00 +0000 (12:32 +0100)
committerMartijn Berger <mberger@denc.com>
Mon, 7 Nov 2016 11:32:00 +0000 (12:32 +0100)
source/blender/depsgraph/intern/depsgraph.cc
source/blender/depsgraph/intern/depsgraph_tag.cc

index e2fbf4374ad10610cdea4809dd85bad0655d634c..3502267d9ca1a1438dfd0b34003ab297507ef826 100644 (file)
@@ -51,6 +51,8 @@ extern "C" {
 #include "RNA_access.h"
 }
 
+#include <cstring>
+
 #include "DEG_depsgraph.h"
 
 #include "intern/nodes/deg_node.h"
index 00907e417ff2c8685ffcdea6ad5b3ff6ef943e2d..e8ed03666a65c6ffbefe814581c548a4204de02b 100644 (file)
@@ -31,6 +31,7 @@
  */
 
 #include <stdio.h>
+#include <cstring>  /* required for memset */
 #include <queue>
 
 extern "C" {