//
// Log handler
//
-// by Cal2
+// Originally by David Raingeard (Cal2)
// GCC/SDL port by Niels Wagenaar (Linux/WIN32) and Caz (BeOS)
// Cleanups/new stuff by James L. Hammons
//
+#include <stdlib.h>
+#include <stdarg.h>
#include "types.h"
#include "log.h"
fflush(log_stream);
fclose(log_stream);
exit(1);
- }
+ }//*/
va_end(arg);
fflush(log_stream); // Make sure that text is written!