diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-05-09 16:22:50 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-05-09 16:22:50 +0300 |
commit | 9be28095cba4fdff77626f54d61afb0acdd2f9dd (patch) | |
tree | 48bef94395acdcee5d236d24b3f64eb498555287 | |
parent | 9b02415ec8dea00964a0896b559aac2131c7571a (diff) |
Fix building on NetBSD
-rw-r--r-- | extern/wcwidth/wcwidth.h | 2 | ||||
-rw-r--r-- | source/blender/blenlib/BLI_sys_types.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/extern/wcwidth/wcwidth.h b/extern/wcwidth/wcwidth.h index d87eaf20695..3039a50bddd 100644 --- a/extern/wcwidth/wcwidth.h +++ b/extern/wcwidth/wcwidth.h @@ -21,7 +21,7 @@ #define __WCWIDTH_H__ #ifndef __cplusplus -# if defined(__APPLE__) +# if defined(__APPLE__) || defined(__NetBSD__) /* The <uchar.h> standard header is missing on macOS. */ #include <stddef.h> typedef unsigned int char32_t; diff --git a/source/blender/blenlib/BLI_sys_types.h b/source/blender/blenlib/BLI_sys_types.h index b9e799aa2a9..ef15ce111b6 100644 --- a/source/blender/blenlib/BLI_sys_types.h +++ b/source/blender/blenlib/BLI_sys_types.h @@ -73,7 +73,7 @@ typedef uint64_t u_int64_t; #include <stddef.h> /* size_t define */ #ifndef __cplusplus -# if defined(__APPLE__) +# if defined(__APPLE__) || defined(__NetBSD__) /* The <uchar.h> standard header is missing on macOS. */ typedef unsigned int char32_t; # else |