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:
authorSybren A. Stüvel <sybren@blender.org>2021-07-30 13:46:44 +0300
committerSybren A. Stüvel <sybren@blender.org>2021-07-30 14:16:14 +0300
commitb98735ec296f0c50f17f52f8c9b33f7cebc2b234 (patch)
tree0d3799a0db6c726f224ac58636319f7e63556a75
parent020431408f12ab7e1c3024e08a4067dce0ae2433 (diff)
Kernel: include header file in BKE_appdir.h defining size_t
In `BKE_appdir.h`, include `<stddef.h>` as that defines `size_t`. This follows the "include what you use" principle, and makes it possible to use `BKE_appdir.h` without having to bother with its dependencies. No functional changes.
-rw-r--r--source/blender/blenkernel/BKE_appdir.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_appdir.h b/source/blender/blenkernel/BKE_appdir.h
index c9d671597e8..15045a1c643 100644
--- a/source/blender/blenkernel/BKE_appdir.h
+++ b/source/blender/blenkernel/BKE_appdir.h
@@ -15,6 +15,8 @@
*/
#pragma once
+#include <stddef.h>
+
/** \file
* \ingroup bli
*/