-/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <ntdll.h>
-
-/*
- * @implemented
- */
-int
-_wtoi(const wchar_t *str)
-{
- return (int)wcstol(str, 0, 10);
-}
+#include <string.h>\r
+#include <stdlib.h>\r
+\r
+/*\r
+ * @implemented\r
+ */\r
+int\r
+_wtoi(const wchar_t *str)\r
+{\r
+ return (int)wcstol(str, 0, 10);\r
+}\r