[Bf-blender-cvs] [2a641bf45d7] workspaces: Minor cleanup.

Bastien Montagne noreply at git.blender.org
Wed May 31 21:49:12 CEST 2017


Commit: 2a641bf45d72066d06d92841c6a8cee09374ee8e
Author: Bastien Montagne
Date:   Wed May 31 21:47:32 2017 +0200
Branches: workspaces
https://developer.blender.org/rB2a641bf45d72066d06d92841c6a8cee09374ee8e

Minor cleanup.

===================================================================

M	source/blender/blenloader/BLO_readfile.h
M	source/blender/imbuf/intern/thumbs_blend.c

===================================================================

diff --git a/source/blender/blenloader/BLO_readfile.h b/source/blender/blenloader/BLO_readfile.h
index ba4365ab6af..fe38fc86c84 100644
--- a/source/blender/blenloader/BLO_readfile.h
+++ b/source/blender/blenloader/BLO_readfile.h
@@ -39,6 +39,7 @@ extern "C" {
 struct BlendThumbnail;
 struct bScreen;
 struct LinkNode;
+struct ListBase;
 struct Main;
 struct MemFile;
 struct ReportList;
@@ -77,7 +78,7 @@ typedef struct BlendFileData {
 typedef struct WorkspaceConfigFileData {
 	struct Main *main; /* has to be freed when done reading file data */
 
-	ListBase workspaces;
+	struct ListBase workspaces;
 } WorkspaceConfigFileData;
 
 
diff --git a/source/blender/imbuf/intern/thumbs_blend.c b/source/blender/imbuf/intern/thumbs_blend.c
index dcc7006e3c0..00fb1a44dff 100644
--- a/source/blender/imbuf/intern/thumbs_blend.c
+++ b/source/blender/imbuf/intern/thumbs_blend.c
@@ -32,7 +32,7 @@
 #include "BLI_endian_switch.h"
 #include "BLI_fileops.h"
 #include "BLI_linklist.h"
-#include "BLI_listbase.h"
+#include "BLI_listbase.h"  /* Needed due to import of BLO_readfile.h */
 
 #include "BLO_blend_defs.h"
 #include "BLO_readfile.h"




More information about the Bf-blender-cvs mailing list