$OpenBSD$

Index: Externals/GameSpy/src/GameSpy/common/win32/Win32Common.c
--- Externals/GameSpy/src/GameSpy/common/win32/Win32Common.c.orig
+++ Externals/GameSpy/src/GameSpy/common/win32/Win32Common.c
@@ -1,7 +1,7 @@
 #include "../gsCommon.h"
 #include "../gsMemory.h"
 #include "../gsDebug.h"
-#include <malloc.h>
+#include <sys/malloc.h>
 // Debug output
 #ifdef GSI_COMMON_DEBUG
 	static void DebugCallback(GSIDebugCategory theCat, GSIDebugType theType,
@@ -12,11 +12,11 @@
 		GSI_UNUSED(theLevel);
 		{
 			static char    string[256];
-			vsprintf(string, theTokenStr, theParamList); 			
+			vsprintf(string, theTokenStr, theParamList);
 			OutputDebugString(string);
 		}
-		printf("[%s][%s] ", 
-				gGSIDebugCatStrings[theCat], 
+		printf("[%s][%s] ",
+				gGSIDebugCatStrings[theCat],
 				gGSIDebugTypeStrings[theType]);
 
 		vprintf(theTokenStr, theParamList);
@@ -40,7 +40,7 @@ void *  gsiMemManagedInit()
 		return NULL;
 	}
 	{
-		gsMemMgrCreate(gsMemMgrContext_Default, "Default",aMemoryPool, aMemoryPoolSize);	
+		gsMemMgrCreate(gsMemMgrContext_Default, "Default",aMemoryPool, aMemoryPoolSize);
 	}
 	return aMemoryPool;
 #else
@@ -70,7 +70,7 @@ void gsiMemManagedClose(void * theMemoryPool)
 
 
 // sample common entry point
-extern int test_main(int argc, char ** argp); 
+extern int test_main(int argc, char ** argp);
 
 
 // Common entry point
@@ -92,7 +92,4 @@ int __cdecl main(int argc, char** argp)
 
 	return ret;
 }
-
-
-
 
