From 1df307e98c576895b847703ddc496eb24edb8919 Mon Sep 17 00:00:00 2001 From: Francesco Giancane Date: Sun, 20 Jun 2021 04:01:02 +0300 Subject: [PATCH] os_types.h: Properly define types on macOS For more recent macOS builds, is not enought to correctly define aliased types. Adding to include list fixes the issue, and makes building other libraries (i.e. vorbis) for macOS again. Signed-off-by: Francesco Giancane https://github.com/xiph/ogg/pull/73 --- include/ogg/os_types.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/ogg/os_types.h b/include/ogg/os_types.h index e655a1d6..67ee915c 100644 --- a/include/ogg/os_types.h +++ b/include/ogg/os_types.h @@ -71,6 +71,7 @@ #elif (defined(__APPLE__) && defined(__MACH__)) /* MacOS X Framework build */ # include +# include typedef int16_t ogg_int16_t; typedef u_int16_t ogg_uint16_t; typedef int32_t ogg_int32_t;