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>2017-06-13 13:02:08 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-06-13 13:02:08 +0300
commit56ad2f0f1a0017ce5529862d572602e4984e3874 (patch)
tree98891f3eea470bab52a01218b3a36e6842c9e1b8 /source/blender/blenkernel/intern/screen.c
parenteaadfdbdc02caeac4a367186d36dba2e3ed36de8 (diff)
Woarkspace: Remove residue of hidden type
There is no reason to be special for workspace and go against other design decision in Blender. If something like this is going to become a common practice in Blender it should be well thought and well tested, including tests of all supported compilers and configurations. This feature was relying on type re-definition, which is not only confusing but also available in C11 only.
Diffstat (limited to 'source/blender/blenkernel/intern/screen.c')
-rw-r--r--source/blender/blenkernel/intern/screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/screen.c b/source/blender/blenkernel/intern/screen.c
index 91d675535f3..f3a93a0a42c 100644
--- a/source/blender/blenkernel/intern/screen.c
+++ b/source/blender/blenkernel/intern/screen.c
@@ -45,6 +45,7 @@
#include "DNA_screen_types.h"
#include "DNA_space_types.h"
#include "DNA_view3d_types.h"
+#include "DNA_workspace_types.h"
#include "BLI_listbase.h"
#include "BLI_utildefines.h"