Skip to content

Commit

Permalink
Fix include paths to not confuse local files with system files (json/…
Browse files Browse the repository at this point in the history
…json.h) (#3669)
  • Loading branch information
danielwallner authored and gizmocuz committed Oct 17, 2019
1 parent 181894b commit 23f6928
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion hardware/1Wire/1WireForWindows.cpp
Expand Up @@ -4,7 +4,7 @@
#include "1WireForWindows.h"
#include "../../main/Logger.h"
#include <boost/optional.hpp>
#include "../json/json.h"
#include "../../json/json.h"
#include <WS2tcpip.h>

#define _1WIRE_SERVICE_PORT "1664"
Expand Down
16 changes: 8 additions & 8 deletions hardware/plugins/PluginManager.cpp
Expand Up @@ -14,14 +14,14 @@
#include "PluginMessages.h"
#include "PluginTransports.h"

#include "../main/Helper.h"
#include "../main/Logger.h"
#include "../main/SQLHelper.h"
#include "../main/WebServer.h"
#include "../main/mainworker.h"
#include "../main/EventSystem.h"
#include "../json/json.h"
#include "../main/localtime_r.h"
#include "../../main/Helper.h"
#include "../../main/Logger.h"
#include "../../main/SQLHelper.h"
#include "../../main/WebServer.h"
#include "../../main/mainworker.h"
#include "../../main/EventSystem.h"
#include "../../json/json.h"
#include "../../main/localtime_r.h"
#ifdef WIN32
# include <direct.h>
#else
Expand Down
8 changes: 4 additions & 4 deletions hardware/plugins/PluginProtocols.cpp
Expand Up @@ -7,12 +7,12 @@

#include "PluginMessages.h"
#include "PluginProtocols.h"
#include "../main/Helper.h"
#include "../main/Logger.h"
#include "../webserver/Base64.h"
#include "../../main/Helper.h"
#include "../../main/Logger.h"
#include "../../webserver/Base64.h"
#include "icmp_header.hpp"
#include "ipv4_header.hpp"
#include "../json/json.h"
#include "../../json/json.h"

namespace Plugins {

Expand Down

0 comments on commit 23f6928

Please sign in to comment.