FreeBSD compile fixes from Chris Knight <chris@aims.com.au>

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@12 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Matt Chapman 2000-09-16 12:07:55 +00:00
parent 93c7854261
commit d2ff68c437
2 changed files with 3 additions and 2 deletions

View File

@ -8,7 +8,7 @@
# DEBUG = -g -DRDP_DEBUG # DEBUG = -g -DRDP_DEBUG
CC = gcc CC = gcc
CFLAGS = -O2 -Wall $(DEBUG) CFLAGS = -O2 -Wall $(DEBUG) -I/usr/X11R6/include
LIBS = -L/usr/X11R6/lib -lX11 LIBS = -L/usr/X11R6/lib -lX11
RDPOBJ = rdesktop.o tcp.o iso.o mcs.o secure.o licence.o rdp.o orders.o bitmap.o cache.o xwin.o RDPOBJ = rdesktop.o tcp.o iso.o mcs.o secure.o licence.o rdp.o orders.o bitmap.o cache.o xwin.o

3
tcp.c
View File

@ -22,8 +22,9 @@
#include <sys/socket.h> /* socket connect setsockopt */ #include <sys/socket.h> /* socket connect setsockopt */
#include <sys/time.h> /* timeval */ #include <sys/time.h> /* timeval */
#include <netdb.h> /* gethostbyname */ #include <netdb.h> /* gethostbyname */
#include <netinet/in.h> /* sockaddr_in */
#include <netinet/tcp.h> /* TCP_NODELAY */ #include <netinet/tcp.h> /* TCP_NODELAY */
#include <arpa/inet.h> /* sockaddr_in inet_addr */ #include <arpa/inet.h> /* inet_addr */
#include <errno.h> /* errno */ #include <errno.h> /* errno */
#include "rdesktop.h" #include "rdesktop.h"