Fix building on NetBSD

This commit is contained in:
Campbell Barton 2020-05-09 23:22:50 +10:00
parent 9b02415ec8
commit 9be28095cb
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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