Include only needed headers in programs/winhelp

James Juran jamesjuran at alumni.psu.edu
Sun Dec 2 08:54:18 CST 2001


James Juran <jamesjuran at alumni.psu.edu>
Only include the necessary files to avoid conflicts in gethostname
prototypes between winsock.h and unistd.h

Index: wine/programs/winhelp/macro.h
===================================================================
RCS file: /home/wine/wine/programs/winhelp/macro.h,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 macro.h
--- wine/programs/winhelp/macro.h	1998/09/24 03:43:39	1.1.1.1
+++ wine/programs/winhelp/macro.h	2001/12/01 21:43:40
@@ -4,7 +4,12 @@
  * Copyright 1996 Ulrich Schmid
  */
 
-#include "windows.h"
+#include "winnt.h"
+#include "windef.h"
+#include "winbase.h"
+#include "winuser.h"
+#include "wingdi.h"
+#include "shellapi.h"
 
 VOID MACRO_ExecuteMacro(LPCSTR);
 




More information about the wine-patches mailing list