diff --git a/dlls/crtdll/Makefile.in b/dlls/crtdll/Makefile.in index 23f1063f4b..30646212bf 100644 --- a/dlls/crtdll/Makefile.in +++ b/dlls/crtdll/Makefile.in @@ -5,6 +5,7 @@ VPATH = @srcdir@ MODULE = crtdll.dll IMPORTS = msvcrt kernel32 EXTRALIBS = $(LIBUNICODE) +EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt LDDLLFLAGS = @LDDLLFLAGS@ SYMBOLFILE = $(MODULE).tmp.o diff --git a/dlls/crtdll/crtdll_main.c b/dlls/crtdll/crtdll_main.c index fb6eb022a6..e16a9bdc17 100644 --- a/dlls/crtdll/crtdll_main.c +++ b/dlls/crtdll/crtdll_main.c @@ -21,8 +21,7 @@ #include "config.h" #include "windef.h" #include "winbase.h" -#define USE_MSVCRT_PREFIX -#include "msvcrt/sys/stat.h" +#include "sys/stat.h" #include "wine/debug.h" WINE_DEFAULT_DEBUG_CHANNEL(crtdll); @@ -53,10 +52,10 @@ struct crtdll_stat short st_uid; short st_gid; crtdll_dev_t st_rdev; - MSVCRT(_off_t) st_size; - MSVCRT(time_t) st_atime; - MSVCRT(time_t) st_mtime; - MSVCRT(time_t) st_ctime; + _off_t st_size; + time_t st_atime; + time_t st_mtime; + time_t st_ctime; }; /* convert struct _stat from crtdll format to msvcrt format */