Index: a2audioup/main.cpp
===================================================================
--- a2audioup/main.cpp	(revision 577)
+++ a2audioup/main.cpp	(working copy)
@@ -14,6 +14,7 @@
 #include <sstream>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include "wav.h"
 #ifdef _WIN32
 #include "getopt_win.h"
Index: a2audioup/Makefile
===================================================================
--- a2audioup/Makefile	(revision 577)
+++ a2audioup/Makefile	(working copy)
@@ -1,7 +1,7 @@
 OBJECTS = main.o wav.o
 CC = g++ 
-CFLAGS	= -g -c -O2 -Wall
-LDFLAGS	= 
+CFLAGS	= -g -c -O -Wall -m32
+LDFLAGS	= -m32
 PROJECT = a2audioup
 RM = rm -f
 
Index: a2audioup/wav.cpp
===================================================================
--- a2audioup/wav.cpp	(revision 577)
+++ a2audioup/wav.cpp	(working copy)
@@ -1,6 +1,7 @@
 #include "wav.h"
 
 #include <iostream>
+#include <stdio.h>
 
 using namespace std;
 
