You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
341 B

--- tcp.c.dist Fri Jan 31 11:35:49 2003
+++ tcp.c Fri Jan 31 11:38:48 2003
@@ -26,6 +26,13 @@
#include <netinet/tcp.h> /* TCP_NODELAY */
#include <arpa/inet.h> /* inet_addr */
#include <errno.h> /* errno */
+
+#ifdef __svr4__
+#ifndef INADDR_NONE
+#define INADDR_NONE (-1)
+#endif
+#endif
+
#include "rdesktop.h"
static int sock;