diff -ur libogg-1.3.4/include/ogg/os_types.h libogg-1.3.4.fixed/include/ogg/os_types.h
--- libogg-1.3.4/include/ogg/os_types.h	2019-08-13 18:31:53.000000000 +0200
+++ libogg-1.3.4.fixed/include/ogg/os_types.h	2021-06-19 14:14:15.000000000 +0200
@@ -71,6 +71,8 @@
 #elif (defined(__APPLE__) && defined(__MACH__)) /* MacOS X Framework build */
 
 #  include <sys/types.h>
+#  include <stdint.h>
+
    typedef int16_t ogg_int16_t;
    typedef uint16_t ogg_uint16_t;
    typedef int32_t ogg_int32_t;
