[Bf-blender-cvs] [63bd356faf9] master: Cleanup: Missing include
Aaron Carlisle
noreply at git.blender.org
Tue Dec 7 19:20:27 CET 2021
Commit: 63bd356faf9cc0e18b0cefcb12fe426c09944aa1
Author: Aaron Carlisle
Date: Tue Dec 7 12:40:44 2021 -0500
Branches: master
https://developer.blender.org/rB63bd356faf9cc0e18b0cefcb12fe426c09944aa1
Cleanup: Missing include
This included is needed for the `ATTR_NONNULL` macro used in the header.
As found in a recent c --> c++ if the includes get ordered in a different order
this could result in an error.
Re commits rBc20098e6ec6adee874a12e510aa4a56d89f92838
===================================================================
M source/blender/render/RE_texture.h
===================================================================
diff --git a/source/blender/render/RE_texture.h b/source/blender/render/RE_texture.h
index 39d773777ab..6b499c9d230 100644
--- a/source/blender/render/RE_texture.h
+++ b/source/blender/render/RE_texture.h
@@ -22,6 +22,8 @@
#pragma once
+#include "BLI_compiler_attrs.h"
+
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* this include is for non-render pipeline exports (still old cruft here) */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
More information about the Bf-blender-cvs
mailing list