From: Guus Sliepen Date: Tue, 15 Jul 2003 16:38:18 +0000 (+0000) Subject: Windows headers declare a struct interface somewhere. X-Git-Tag: release-1.0~61 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=47721be760c495ec13d68181bc03b151ffc1399c;p=tinc Windows headers declare a struct interface somewhere. --- diff --git a/src/device.h b/src/device.h index 8c31d801..4982cbab 100644 --- a/src/device.h +++ b/src/device.h @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: device.h,v 1.1.2.8 2003/07/12 17:41:45 guus Exp $ + $Id: device.h,v 1.1.2.9 2003/07/15 16:38:18 guus Exp $ */ #ifndef __TINC_DEVICE_H__ @@ -25,7 +25,13 @@ extern int device_fd; extern char *device; + +#ifdef HAVE_CYGWIN +extern char *iface; +#define interface iface +#else extern char *interface; +#endif extern int setup_device(void); extern void close_device(void);