Cleanup: add missing #includes to some headers
It should be possible to `#include` any header without having to worry about its dependencies. I didn't go and check all include files for this, just the ones that caused me errors while I was refactoring the `anim_sys.c` file. No functional changes.
This commit is contained in:
parent
905c0269f3
commit
cff49e625f
@ -28,6 +28,8 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "BLI_sys_types.h" /* for bool */
|
||||
|
||||
struct AnimData;
|
||||
struct Depsgraph;
|
||||
struct FCurve;
|
||||
|
@ -24,6 +24,8 @@
|
||||
* These depend on compiler extensions and c11 in some cases.
|
||||
*/
|
||||
|
||||
#include "BLI_utildefines_variadic.h"
|
||||
|
||||
/* Causes warning:
|
||||
* incompatible types when assigning to type 'Foo' from type 'Bar'
|
||||
* ... the compiler optimizes away the temp var */
|
||||
|
Loading…
Reference in New Issue
Block a user