Index: /trunk/src/VBox/Frontends/VirtualBox/src/hardenedmain.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/hardenedmain.cpp	(revision 49891)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/hardenedmain.cpp	(revision 49892)
@@ -5,5 +5,5 @@
 
 /*
- * Copyright (C) 2008-2010 Oracle Corporation
+ * Copyright (C) 2008-2013 Oracle Corporation
  *
  * This file is part of VirtualBox Open Source Edition (OSE), as
@@ -16,6 +16,26 @@
  */
 
-#include <string.h>
 #include <VBox/sup.h>
+
+
+/**
+ * No CRT on windows, so cook our own strcmp.
+ *
+ * @returns See man strcmp.
+ * @param   psz1                The first string.
+ * @param   psz2                The second string.
+ */
+static int MyStrCmp(const char *psz1, const char *psz2)
+{
+    for (;;)
+    {
+        char ch1 = *psz1++;
+        char ch2 = *psz2++;
+        if (ch1 != ch2)
+            return ch1 < ch2 ? -1 : 1;
+        if (!ch1)
+            return 0;
+    }
+}
 
 
@@ -30,6 +50,6 @@
          * options to start a VM in main.cpp and VBoxGlobal.cpp exactly,
          * otherwise there will be weird error messages. */
-        if (   !::strcmp(argv[i], "--startvm")
-            || !::strcmp(argv[i], "-startvm"))
+        if (   !MyStrCmp(argv[i], "--startvm")
+            || !MyStrCmp(argv[i], "-startvm"))
         {
             fFlags &= ~SUPSECMAIN_FLAGS_DONT_OPEN_DEV;
