Commit: b485710a25e1d165f07f9388048cf0b352ec510a
Author: Julian Eisel
Date:   Wed Mar 17 13:56:20 2021 +0100
Branches: ui-asset-view-template
https://developer.blender.org/rBb485710a25e1d165f07f9388048cf0b352ec510a

Fix warning about possibly mixed C/C++ linkage of type

Would give a warning:
```
'ED_asset_library_reference_from_enum_value' has C-linkage specified, but
returns incomplete type 'struct AssetLibraryReference' which could be
incompatible with C [-Wreturn-type-c-linkage]
```

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

M       source/blender/editors/include/ED_asset.h

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

diff --git a/source/blender/editors/include/ED_asset.h 
b/source/blender/editors/include/ED_asset.h
index 65b1c690491..992919c5bbb 100644
--- a/source/blender/editors/include/ED_asset.h
+++ b/source/blender/editors/include/ED_asset.h
@@ -20,6 +20,8 @@
 
 #pragma once
 
+#include "DNA_asset_types.h"
+
 #ifdef __cplusplus
 extern "C" {
 #endif

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to