Skip to content

Commit 6449883

Browse files
bvibberrillian
authored andcommitted
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 <[email protected]>
1 parent 51b74c3 commit 6449883

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/ogg/os_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070

7171
#elif (defined(__APPLE__) && defined(__MACH__)) /* MacOS X Framework build */
7272

73-
# include <inttypes.h>
73+
# include <sys/types.h>
7474
typedef int16_t ogg_int16_t;
7575
typedef uint16_t ogg_uint16_t;
7676
typedef int32_t ogg_int32_t;

0 commit comments

Comments
 (0)