summaryrefslogtreecommitdiff
path: root/tunDevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'tunDevice.h')
-rw-r--r--tunDevice.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/tunDevice.h b/tunDevice.h
index 5602f90..487167a 100644
--- a/tunDevice.h
+++ b/tunDevice.h
@@ -28,12 +28,13 @@
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "openvpn/tun.h"
+#ifndef _TUNDEVICE_H_
+#define _TUNDEVICE_H_
class TunDevice
{
public:
- TunDevice(string dev_name);
+ TunDevice(const char* dev);
~TunDevice();
int read(uint8_t *buf, int len);
@@ -44,4 +45,6 @@ private:
TunDevice(const TunDevice &src);
struct tuntap *dev_;
-}
+};
+
+#endif