diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2021-07-30 13:46:44 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2021-07-30 14:16:14 +0300 |
commit | b98735ec296f0c50f17f52f8c9b33f7cebc2b234 (patch) | |
tree | 0d3799a0db6c726f224ac58636319f7e63556a75 /source/blender/blenkernel/BKE_appdir.h | |
parent | 020431408f12ab7e1c3024e08a4067dce0ae2433 (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.
Diffstat (limited to 'source/blender/blenkernel/BKE_appdir.h')
-rw-r--r-- | source/blender/blenkernel/BKE_appdir.h | 2 |
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 */ |