X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=have.h;h=6d65bcd354e611649cdea163517a05db266ad594;hb=6bc5d626a8726fc23365ee705761a3c666a08ad4;hp=0ab813461c41bcf54bd8d397cfa18d334066feb8;hpb=36623e15a1c8685e5d8730345c1a7f9c93710fef;p=tinc diff --git a/have.h b/have.h index 0ab81346..6d65bcd3 100644 --- a/have.h +++ b/have.h @@ -1,7 +1,7 @@ /* have.h -- include headers which are known to exist Copyright (C) 1998-2005 Ivo Timmermans - 2003-2011 Guus Sliepen + 2003-2012 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -42,6 +42,7 @@ #ifdef HAVE_MINGW #include +#include #include #include #endif @@ -195,8 +196,10 @@ #include #endif -#ifdef HAVE_EVENT_H -#include +#ifdef HAVE_MINGW +#define SLASH "\\" +#else +#define SLASH "/" #endif #endif /* __TINC_SYSTEM_H__ */