From 9be28095cba4fdff77626f54d61afb0acdd2f9dd Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 9 May 2020 23:22:50 +1000 Subject: Fix building on NetBSD --- extern/wcwidth/wcwidth.h | 2 +- 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 standard header is missing on macOS. */ #include 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 /* size_t define */ #ifndef __cplusplus -# if defined(__APPLE__) +# if defined(__APPLE__) || defined(__NetBSD__) /* The standard header is missing on macOS. */ typedef unsigned int char32_t; # else -- cgit v1.2.3