Merge branch 'Issue1747' of https://gitlab.xiph.org/seanm/ogg into macos-types
diff --git a/include/ogg/os_types.h b/include/ogg/os_types.h
index e655a1d..f2ae058 100644
--- a/include/ogg/os_types.h
+++ b/include/ogg/os_types.h
@@ -68,15 +68,15 @@
 #    endif
 #  endif
 
-#elif (defined(__APPLE__) && defined(__MACH__)) /* MacOS X Framework build */
+#elif defined(__APPLE__)
 
-#  include <sys/types.h>
+#  include <stdint.h>
    typedef int16_t ogg_int16_t;
-   typedef u_int16_t ogg_uint16_t;
+   typedef uint16_t ogg_uint16_t;
    typedef int32_t ogg_int32_t;
-   typedef u_int32_t ogg_uint32_t;
+   typedef uint32_t ogg_uint32_t;
    typedef int64_t ogg_int64_t;
-   typedef u_int64_t ogg_uint64_t;
+   typedef uint64_t ogg_uint64_t;
 
 #elif defined(__HAIKU__)