Tests: BLI_heap_simple test fix build error with MSVC.
authorRay Molenkamp <github@lazydodo.com>
Thu, 14 Mar 2019 17:14:12 +0000 (11:14 -0600)
committerRay Molenkamp <github@lazydodo.com>
Thu, 14 Mar 2019 17:14:44 +0000 (11:14 -0600)
BLI_heap_simple.h uses types from BLI_sys_types.h causing a build error on windows.

tests/gtests/blenlib/BLI_heap_simple_test.cc

index 29aa8f2..9c97163 100644 (file)
@@ -4,6 +4,7 @@
 #include <string.h>
 
 extern "C" {
+#include "BLI_sys_types.h"
 #include "BLI_compiler_attrs.h"
 #include "BLI_heap_simple.h"
 #include "BLI_utildefines.h"