--- /dev/null
+package "ogg"
+{
+ library "ogg"
+ {
+ source "include/ogg/config_types.h";
+ source "include/ogg/ogg.h";
+ source "include/ogg/os_types.h";
+ source "src/bitwise.c";
+ source "src/framing.c";
+ source "src/crctable.h";
+ if_arch "windows"
+ {
+ source "win32/ogg.def";
+ };
+ install true;
+ install_headers false;
+ };
+
+ install "include/ogg"
+ {
+ source "include/ogg/config_types.h";
+ source "include/ogg/ogg.h";
+ source "include/ogg/os_types.h";
+ };
+};
--- /dev/null
+
+#ifndef __CONFIG_TYPES_H__
+#define __CONFIG_TYPES_H__
+
+/* manually configured for MSP build system */
+#undef INCLUDE_INTTYPES_H
+#define INCLUDE_STDINT_H 1
+#undef INCLUDE_SYS_TYPES_H
+
+#if INCLUDE_INTTYPES_H
+# include <inttypes.h>
+#endif
+#if INCLUDE_STDINT_H
+# include <stdint.h>
+#endif
+#if INCLUDE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+
+typedef int16_t ogg_int16_t;
+typedef uint16_t ogg_uint16_t;
+typedef int32_t ogg_int32_t;
+typedef uint32_t ogg_uint32_t;
+typedef int64_t ogg_int64_t;
+typedef uint64_t ogg_uint64_t;
+
+#endif