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:
parent
93c7854261
commit
d2ff68c437
2
Makefile
2
Makefile
@ -8,7 +8,7 @@
|
||||
# DEBUG = -g -DRDP_DEBUG
|
||||
|
||||
CC = gcc
|
||||
CFLAGS = -O2 -Wall $(DEBUG)
|
||||
CFLAGS = -O2 -Wall $(DEBUG) -I/usr/X11R6/include
|
||||
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
|
||||
|
3
tcp.c
3
tcp.c
@ -22,8 +22,9 @@
|
||||
#include <sys/socket.h> /* socket connect setsockopt */
|
||||
#include <sys/time.h> /* timeval */
|
||||
#include <netdb.h> /* gethostbyname */
|
||||
#include <netinet/in.h> /* sockaddr_in */
|
||||
#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 "rdesktop.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user