Pcbnew: fix a build issue when BUILD_GITHUB_PLUGIN is enabled.

This commit is contained in:
jean-pierre charras 2013-11-11 09:01:04 +01:00
parent b3b9e96c9a
commit a3c02bc377
2 changed files with 14 additions and 2 deletions

View File

@ -37,22 +37,33 @@
could use the above API.
*/
#ifdef WIN32
// defines needed by avhttp
// Minimal Windows version is XP: Google for _WIN32_WINNT
#define _WIN32_WINNT 0x0501
#define WINVER 0x0501
#endif
#include <sstream>
#include <boost/ptr_container/ptr_map.hpp>
#include <avhttp.hpp> // chinese SSL magic
#include <wx/zipstrm.h>
#include <wx/mstream.h>
#include <wx/uri.h>
#include <macros.h>
#include <fctsys.h>
// Under Windows Mingw/msys, avhttp.hpp should be included after fctsys.h
// in fact after wx/wx.h, included by fctsys.h,
// to avoid issues (perhaps due to incompatible defines)
#include <avhttp.hpp> // chinese SSL magic
#include <io_mgr.h>
#include <richio.h>
#include <pcb_parser.h>
#include <class_board.h>
#include <github_plugin.h>
#include <class_module.h>
#include <macros.h>
using namespace std;

View File

@ -31,6 +31,7 @@
#include <eagle_plugin.h>
#include <pcad2kicadpcb_plugin/pcad_plugin.h>
#include <gpcb_plugin.h>
#include <config.h>
#if defined(BUILD_GITHUB_PLUGIN)
#include <github/github_plugin.h>