[1/6] msvcr80: add include dependency for msvcrt (try 2)

Vincas Miliūnas vincas.miliunas at gmail.com
Wed Nov 3 06:49:03 CDT 2010


qsort_s and _itow_s implementation and tests for bug #24925.
Because of Thunderbird's default text formatting, the patch got broken; a good resource on solving this is http://kerneltrap.org/Linux/Email_Clients_and_Patches

---
 dlls/msvcr80/Makefile.in |    2 ++
 dlls/msvcr80/msvcr80.c   |    9 +++++++++
 2 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/dlls/msvcr80/Makefile.in b/dlls/msvcr80/Makefile.in
index 17f3f66..760f1bf 100644
--- a/dlls/msvcr80/Makefile.in
+++ b/dlls/msvcr80/Makefile.in
@@ -1,5 +1,7 @@
 MODULE    = msvcr80.dll
 IMPORTS   = msvcrt
+MODCFLAGS = @BUILTINFLAG@
+EXTRAINCL = -I$(top_srcdir)/include/msvcrt
 
 C_SRCS = \
     msvcr80.c
diff --git a/dlls/msvcr80/msvcr80.c b/dlls/msvcr80/msvcr80.c
index 3f81dcb..8487c15 100644
--- a/dlls/msvcr80/msvcr80.c
+++ b/dlls/msvcr80/msvcr80.c
@@ -20,9 +20,18 @@
 
 #include <stdarg.h>
 
+#include "stdlib.h"
+#include "errno.h"
+#include "malloc.h"
 #include "windef.h"
 #include "winbase.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(msvcr80);
 
+/*********************************************************************
+ * DllMain (MSVCR80.@)
+ */
 BOOL WINAPI DllMain(HINSTANCE hdll, DWORD reason, LPVOID reserved)
 {
     switch (reason)
-- 
1.7.2.3




More information about the wine-patches mailing list