Fix build

This commit is contained in:
Vojtech Kral 2019-02-08 10:45:54 +01:00
parent e7ab69634b
commit 08cbcd717e
2 changed files with 7 additions and 1 deletions

View File

@ -7,6 +7,7 @@
#include <boost/algorithm/string/trim.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/asio/serial_port_service.hpp>
#if defined(__APPLE__) || defined(__OpenBSD__)
#include <termios.h>
@ -549,7 +550,7 @@ void
GCodeSender::set_DTR(bool on)
{
#if defined(_WIN32) && !defined(__SYMBIAN32__)
boost::asio::serial_port_service::native_handle_type handle = this->serial.native_handle();
boost::asio::serial_port::native_handle_type handle = this->serial.native_handle();
if (on)
EscapeCommFunction(handle, SETDTR);
else

View File

@ -5,6 +5,11 @@
#include "libslic3r.h"
#ifdef _MSC_VER
#define strncasecmp _strnicmp
#define strcasecmp _stricmp
#endif
namespace boost { namespace filesystem { class directory_entry; }}
namespace Slic3r {