--- sourceforge.net/trunk/rdesktop/tcp.c 2003/01/30 11:57:10 303 +++ sourceforge.net/trunk/rdesktop/tcp.c 2003/01/30 13:38:47 306 @@ -28,6 +28,10 @@ #include /* errno */ #include "rdesktop.h" +#ifndef INADDR_NONE +#define INADDR_NONE ((unsigned long) -1) +#endif + static int sock; static struct stream in; static struct stream out;