adb: move adb_strerror to sysdeps/win32/errno.cpp.
Bug: none
Test: mma
Change-Id: I9df4d6faf9883a78f50ca6b2b7c35f095d06ae20
diff --git a/adb/sysdeps/errno.h b/adb/sysdeps/errno.h
index d514184..f783b3a 100644
--- a/adb/sysdeps/errno.h
+++ b/adb/sysdeps/errno.h
@@ -16,4 +16,13 @@
#pragma once
+#include <errno.h>
+#include <string.h>
+
+// Translate an errno value from linux to the host equivalent.
int translate_linux_errno(int error);
+
+#if defined(_WIN32)
+char* adb_strerror(int err);
+#define strerror adb_strerror
+#endif