summaryrefslogtreecommitdiff
path: root/src/ovpn
diff options
context:
space:
mode:
Diffstat (limited to 'src/ovpn')
-rw-r--r--src/ovpn/tunDevice.cpp6
-rw-r--r--src/ovpn/tunDevice.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/ovpn/tunDevice.cpp b/src/ovpn/tunDevice.cpp
index 032af29..822b6a7 100644
--- a/src/ovpn/tunDevice.cpp
+++ b/src/ovpn/tunDevice.cpp
@@ -31,15 +31,15 @@
#include <stdexcept>
#include <poll.h>
+#include "tunDevice.h"
+#include "threadUtils.hpp"
+
extern "C" {
#include "openvpn/config.h"
#include "openvpn/syshead.h"
#include "openvpn/tun.h"
}
-#include "tunDevice.h"
-#include "threadUtils.hpp"
-
TunDevice::TunDevice(const char* dev_name,const char* dev_type, const char* ifcfg_lp, const char* ifcfg_rnmp)
{
diff --git a/src/ovpn/tunDevice.h b/src/ovpn/tunDevice.h
index 5886b7d..b0c5780 100644
--- a/src/ovpn/tunDevice.h
+++ b/src/ovpn/tunDevice.h
@@ -32,8 +32,8 @@
#define _TUNDEVICE_H_
#include "buffer.h"
-#include "deviceConfig.hpp"
#include "threadUtils.hpp"
+#include "deviceConfig.hpp"
class TunDevice
{