diff --git a/.gitmodules b/.gitmodules
index 801a695fc..9524e4fcf 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -7,3 +7,9 @@
[submodule "project/toolkit/jpeg/libjpeg-turbo"]
path = project/toolkit/jpeg/libjpeg-turbo
url = https://github.com/libjpeg-turbo/libjpeg-turbo
+[submodule "project/toolkit/vorbis/vorbis"]
+ path = project/toolkit/vorbis/vorbis
+ url = https://github.com/xiph/vorbis.git
+[submodule "project/toolkit/ogg/ogg"]
+ path = project/toolkit/ogg/ogg
+ url = https://github.com/xiph/ogg.git
diff --git a/project/ToolkitBuild.xml b/project/ToolkitBuild.xml
index 34aa8da86..55cb22f2d 100644
--- a/project/ToolkitBuild.xml
+++ b/project/ToolkitBuild.xml
@@ -137,7 +137,10 @@
+
+
+
@@ -145,11 +148,13 @@
+
+
+
+
-
-
@@ -332,16 +337,17 @@
-
+
-
+
+
+
+
-
-
diff --git a/project/toolkit/ogg/config_types.h b/project/toolkit/ogg/config_types.h
new file mode 100644
index 000000000..73ef56246
--- /dev/null
+++ b/project/toolkit/ogg/config_types.h
@@ -0,0 +1,26 @@
+#ifndef __CONFIG_TYPES_H__
+#define __CONFIG_TYPES_H__
+
+
+#ifdef BLACKBERRY
+
+ /* QNX */
+# include
+ 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;
+
+#else
+# include
+
+/* these are filled in by configure */
+typedef int16_t ogg_int16_t;
+typedef unsigned short ogg_uint16_t;
+typedef int32_t ogg_int32_t;
+typedef unsigned int ogg_uint32_t;
+typedef int64_t ogg_int64_t;
+
+#endif
+#endif
diff --git a/project/toolkit/ogg/files.xml b/project/toolkit/ogg/files.xml
new file mode 100644
index 000000000..ab5b12770
--- /dev/null
+++ b/project/toolkit/ogg/files.xml
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/project/toolkit/ogg/ogg b/project/toolkit/ogg/ogg
new file mode 160000
index 000000000..db5c7a49c
--- /dev/null
+++ b/project/toolkit/ogg/ogg
@@ -0,0 +1 @@
+Subproject commit db5c7a49ce7ebda47b15b78471e78fb7f2483e22
diff --git a/project/toolkit/vorbis/files.xml b/project/toolkit/vorbis/files.xml
new file mode 100644
index 000000000..06243ae4e
--- /dev/null
+++ b/project/toolkit/vorbis/files.xml
@@ -0,0 +1,72 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/project/toolkit/vorbis/vorbis b/project/toolkit/vorbis/vorbis
new file mode 160000
index 000000000..84c023699
--- /dev/null
+++ b/project/toolkit/vorbis/vorbis
@@ -0,0 +1 @@
+Subproject commit 84c023699cdf023a32fa4ded32019f194afcdad0
diff --git a/project/toolkit/zlib/files.xml b/project/toolkit/zlib/files.xml
index 6e2d20487..6a4977658 100644
--- a/project/toolkit/zlib/files.xml
+++ b/project/toolkit/zlib/files.xml
@@ -10,6 +10,8 @@
+
+