Solaris doesn't define INADDR_NONE (fix from Simon McCartney)

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@305 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Matt Chapman 2003-01-30 13:38:47 +00:00
parent 799526bb95
commit 177848b45b

4
tcp.c
View File

@ -28,6 +28,10 @@
#include <errno.h> /* 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;