summaryrefslogtreecommitdiffstats
path: root/WasmAudio/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'WasmAudio/main.c')
-rw-r--r--WasmAudio/main.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/WasmAudio/main.c b/WasmAudio/main.c
index 4e27973..b031629 100644
--- a/WasmAudio/main.c
+++ b/WasmAudio/main.c
@@ -6,6 +6,37 @@
//
#include <stdio.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <stdio.h>
+#include <stdint.h>
+#include <strings.h>
+#include <getopt.h>
+#include <signal.h>
+#include <fcntl.h>
+#include <pthread.h>
+
+
+
+#if __EMSCRIPTEN__
+#include <emscripten/emscripten.h>
+#include <SDL/SDL.h>
+#include <SDL/SDL_ttf.h>
+#include <GLES2/gl2.h>
+#else
+ #include <SDL2/SDL.h>
+ #ifdef __APPLE__
+ #include <SDL2_ttf/SDL_ttf.h>
+ #else
+ #include <SDL2/SDL_ttf.h>
+ #endif
+ //how to use on mac?
+ //#include <GLES2/gl2.h>
+#endif
+
+
+
+
int main(int argc, const char * argv[]) {
// insert code here...