From ca42f469b42710fcabafa1ae33b38300c5da6071 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Friedrich=20Scho=CC=88ller?= <hans@schoeller.se> Date: Wed, 22 May 2013 02:12:26 +0200 Subject: [PATCH] Conditional includes and device name length --- src/tun_dev.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/tun_dev.h b/src/tun_dev.h index c396ee5..a2910b0 100644 --- a/src/tun_dev.h +++ b/src/tun_dev.h @@ -18,11 +18,19 @@ * */ +#ifdef WIN32 + #include <stdint.h> #include <stdbool.h> #define VTUN_DEV_LEN 100 +#else + +#define VTUN_DEV_LEN 20 + +#endif + #ifdef __cplusplus extern "C" { #endif