Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
9e5110fa
Commit
9e5110fa
authored
Sep 28, 2001
by
dscho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
now compiles on FreeBSD
parent
7c10483c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
10 deletions
+13
-10
Makefile
Makefile
+1
-1
example.c
example.c
+1
-0
rfb.h
rfb.h
+11
-9
No files found.
Makefile
View file @
9e5110fa
...
...
@@ -4,7 +4,7 @@ CFLAGS=-g -Wall
RANLIB
=
ranlib
INCLUDES
=
-I
.
-Iinclude
VNCSERVERLIB
=
-L
.
-lvncserver
-lz
-ljpeg
VNCSERVERLIB
=
-L
.
-lvncserver
-
L
/usr/local/lib
-
lz
-ljpeg
# These two lines enable useage of PThreads
#CFLAGS += -DHAVE_PTHREADS
...
...
example.c
View file @
9e5110fa
...
...
@@ -22,6 +22,7 @@
*/
#include <stdio.h>
#include <sys/types.h>
#include <netinet/in.h>
#ifdef __IRIX__
#include <netdb.h>
...
...
rfb.h
View file @
9e5110fa
...
...
@@ -49,14 +49,21 @@ int max(int,int);
#include <zlib.h>
#include <rfbproto.h>
#include <netinet/in.h>
#ifdef HAVE_PTHREADS
#include <pthread.h>
#define IF_PTHREADS(x) (x)
#else
#define IF_PTHREADS(x)
#endif
#ifdef __linux__
#include <endian.h>
#else
#ifdef __APPLE__
#if defined(__APPLE__) || defined(__FreeBSD__)
#include <sys/types.h>
#include <machine/endian.h>
#define _BYTE_ORDER BYTE_ORDER
#define _LITTLE_ENDIAN LITTLE_ENDIAN
...
...
@@ -73,14 +80,9 @@ int max(int,int);
#define _LITTLE_ENDIAN __LITTLE_ENDIAN
#endif
#define MAX_ENCODINGS 10
#ifdef HAVE_PTHREADS
#define IF_PTHREADS(x) (x)
#else
#define IF_PTHREADS(x)
#endif
#include <netinet/in.h>
#define MAX_ENCODINGS 10
struct
rfbClientRec
;
struct
rfbScreenInfo
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment