diff options
author | Brion Vibber <brion@pobox.com> | 2018-01-29 13:52:20 -0800 |
---|---|---|
committer | Ralph Giles <giles@thaumas.net> | 2019-08-13 09:03:58 -0700 |
commit | 6449883ccacfee276ed9d99fa047342cdc51ab88 (patch) | |
tree | 735e999b39dcfbad62166baeaaf1a949800d1f36 /include | |
parent | 51b74c367b7aed79b5561e9d13c2cb4b3a57762b (diff) | |
download | ogg-git-6449883ccacfee276ed9d99fa047342cdc51ab88.tar.gz |
Fix iOS/macOS build with current SDKs.
Use <sys/types.h> not <inttypes.h> when building for Apple platforms,
as it works with modular dynamic-framework builds.
Signed-off-by: Ralph Giles <giles@thaumas.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/ogg/os_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ogg/os_types.h b/include/ogg/os_types.h index 4165bce..eb8a322 100644 --- a/include/ogg/os_types.h +++ b/include/ogg/os_types.h @@ -70,7 +70,7 @@ #elif (defined(__APPLE__) && defined(__MACH__)) /* MacOS X Framework build */ -# include <inttypes.h> +# include <sys/types.h> typedef int16_t ogg_int16_t; typedef uint16_t ogg_uint16_t; typedef int32_t ogg_int32_t; |