diff -ru libogg-1.3.4.orig/include/ogg/os_types.h libogg-1.3.4/include/ogg/os_types.h
--- libogg-1.3.4.orig/include/ogg/os_types.h	2019-08-13 18:31:53.000000000 +0200
+++ libogg-1.3.4/include/ogg/os_types.h	2021-11-13 10:17:18.438152076 +0100
@@ -71,6 +71,7 @@
 #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;
