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:
authorRay Molenkamp <github@lazydodo.com>2020-03-17 19:12:47 +0300
committerRay Molenkamp <github@lazydodo.com>2020-03-17 19:12:47 +0300
commit964375e36a2b2a56d12201a3a96dd4572e0a8827 (patch)
treee8d878b99c88c779ff598341914a005421dbb534
parentd374237d43728ddc8503629cf1018befba82b81b (diff)
Cleanup: blenkernel proper header inclusion for BKE_ocean.h
BKE_ocean.h uses the bool type without including stdbool.h counting on someone else including that before it. With D6811 enabling automatic sorting of the includes this can no longer be counted on. This changes includes stdbool.h in BKE_ocean.h so it can build without being depended on others including the right headers before it.
-rw-r--r--source/blender/blenkernel/BKE_ocean.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_ocean.h b/source/blender/blenkernel/BKE_ocean.h
index d3ac825039d..6ce2e13cf18 100644
--- a/source/blender/blenkernel/BKE_ocean.h
+++ b/source/blender/blenkernel/BKE_ocean.h
@@ -17,6 +17,8 @@
#ifndef __BKE_OCEAN_H__
#define __BKE_OCEAN_H__
+#include <stdbool.h>
+
/** \file
* \ingroup bli
*/