projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Native Windows support.
[tinc]
/
src
/
net.h
diff --git
a/src/net.h
b/src/net.h
index
8ab3361
..
f149466
100644
(file)
--- a/
src/net.h
+++ b/
src/net.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.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: net.h,v 1.9.4.6
7 2003/07/24 12:08:15
guus Exp $
+ $Id: net.h,v 1.9.4.6
8 2003/07/29 22:59:00
guus Exp $
*/
#ifndef __TINC_NET_H__
*/
#ifndef __TINC_NET_H__
@@
-140,4
+140,8
@@
extern void terminate_connection(struct connection_t *, bool);
extern void flush_queue(struct node_t *);
extern bool read_rsa_public_key(struct connection_t *);
extern void flush_queue(struct node_t *);
extern bool read_rsa_public_key(struct connection_t *);
+#ifndef HAVE_MINGW
+#define closesocket(s) close(s)
+#endif
+
#endif /* __TINC_NET_H__ */
#endif /* __TINC_NET_H__ */