+extern wchar_t *
+win32_mbs_to_wcs(const char *mbs, size_t mbs_nbytes, size_t *num_wchars_ret);
+
+extern wchar_t *
+win32_wbasename(wchar_t *path);
+
+#include "wgetopt.h"
+
+#define optarg woptarg
+#define optind woptind
+#define opterr wopterr
+#define optopt woptopt
+#define option woption
+
+#define getopt_long_only wgetopt_long_only
+#define getopt_long wgetopt_long
+#define getopt wgetopt
+