Skip to content

Commit

Permalink
fixes include order problems.
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsracz committed Sep 1, 2020
1 parent 02aea79 commit 6eb5206
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
10 changes: 5 additions & 5 deletions applications/hub/main.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@

#include <memory>

#include "executor/Executor.hxx"
#include "executor/Service.hxx"
#include "os/os.h"
#include "utils/constants.hxx"
#include "utils/ClientConnection.hxx"
#include "utils/GcTcpHub.hxx"
#include "utils/Hub.hxx"
#include "utils/HubDeviceSelect.hxx"
#include "utils/SocketCan.hxx"
#include "utils/GcTcpHub.hxx"
#include "utils/ClientConnection.hxx"
#include "executor/Executor.hxx"
#include "executor/Service.hxx"
#include "utils/constants.hxx"

Executor<1> g_executor("g_executor", 0, 1024);
Service g_service(&g_executor);
Expand Down
2 changes: 1 addition & 1 deletion src/openlcb/SimpleStack.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@

#include "openlcb/SimpleStack.hxx"

#include "openmrn_features.h"
#include "openlcb/EventHandler.hxx"
#include "openlcb/NodeInitializeFlow.hxx"
#include "openlcb/SimpleNodeInfo.hxx"
#include "openmrn_features.h"
#include "utils/HubDeviceSelect.hxx"
#include "utils/SocketCan.hxx"

Expand Down
4 changes: 3 additions & 1 deletion src/utils/ClientConnection.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,13 @@
#ifndef _UTILS_CLIENTCONNECTION_HXX_
#define _UTILS_CLIENTCONNECTION_HXX_

#include "utils/GridConnectHub.hxx"
#include <stdio.h>
#include <termios.h> /* tc* functions */
#include <unistd.h>

#include "utils/GridConnectHub.hxx"
#include "utils/socket_listener.hxx"

/// Abstract base class for the Hub's connections.
class ConnectionClient
{
Expand Down

0 comments on commit 6eb5206

Please sign in to comment.