From 568e72f5615151ca372f469780b09006023f13af Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 12 Jul 2012 10:33:54 +0000 Subject: * pseudo-reloc.cc: Drop including wchar.h. (__report_error): Define module as WCHAR. * advapi.cc: Drop including wchar.h. * kernel32.cc: Ditto. --- winsup/cygwin/pseudo-reloc.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'winsup/cygwin/pseudo-reloc.cc') diff --git a/winsup/cygwin/pseudo-reloc.cc b/winsup/cygwin/pseudo-reloc.cc index 06d3356c7..04d5d9862 100644 --- a/winsup/cygwin/pseudo-reloc.cc +++ b/winsup/cygwin/pseudo-reloc.cc @@ -20,8 +20,6 @@ # define NO_COPY #else # include "winsup.h" -# include -# include # include /* custom status code: */ # define STATUS_ILLEGAL_DLL_PSEUDO_RELOCATION ((NTSTATUS) 0xe0000269) @@ -87,7 +85,7 @@ __report_error (const char *msg, ...) * cygwin ptys. */ char buf[128]; - wchar_t module[MAX_PATH]; + WCHAR module[MAX_PATH]; char * posix_module = NULL; static const char UNKNOWN_MODULE[] = ": "; static const char CYGWIN_FAILURE_MSG[] = "Cygwin runtime failure: "; -- cgit v1.2.3