From 47721be760c495ec13d68181bc03b151ffc1399c Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Tue, 15 Jul 2003 16:38:18 +0000 Subject: [PATCH] Windows headers declare a struct interface somewhere. --- src/device.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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); -- 2.39.5