// by James L. Hammons
//
-#include "types.h"
#include "log.h"
+#include <stdio.h>
+#include <stdlib.h>
+#include "types.h"
+
#define MAX_LOG_SIZE 10000000 // Maximum size of log file (10 MB)
static FILE * log_stream = NULL;
static uint32 logSize = 0;
-bool InitLog(char * path)
+bool InitLog(const char * path)
{
log_stream = fopen(path, "wrt");