Do not needlessly include config.h and wine/port.h

Dmitry Timoshkov dmitry at baikal.ru
Wed Oct 5 08:55:19 CDT 2005


Hello,

neither main.c nor winedump.h use any of the config.h macros. Moreover on
platforms without 'struct option' (Windows) main.c defines its own structure
named 'option' while port.h defines the struct option in that case as well
leading to a compilation error.

Changelog:
    Dmitry Timoshkov <dmitry at codeweavers.com>
    Do not needlessly include config.h and wine/port.h.

--- cvs/hq/wine/tools/winedump/main.c	Wed Aug 03 21:25:10 2005
+++ wine/tools/winedump/main.c	Wed Oct 05 13:07:15 2005
@@ -18,9 +18,6 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#include "config.h"
-#include "wine/port.h"
-
 #include "winedump.h"
 
 _globals globals; /* All global variables */






More information about the wine-patches mailing list