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
af41bea6
Commit
af41bea6
authored
May 03, 2002
by
dscho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
solaris fixes (INADDR_NONE)
parent
d7117b69
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
Makefile
Makefile
+1
-0
rfb.h
rfb.h
+4
-1
No files found.
Makefile
View file @
af41bea6
...
@@ -2,6 +2,7 @@ INCLUDES=-I.
...
@@ -2,6 +2,7 @@ INCLUDES=-I.
VNCSERVERLIB
=
-L
.
-lvncserver
-L
/usr/local/lib
-lz
-ljpeg
VNCSERVERLIB
=
-L
.
-lvncserver
-L
/usr/local/lib
-lz
-ljpeg
# for Solaris
# for Solaris
#CC=gcc
#EXTRALIBS=-lsocket -lnsl -L/usr/X/lib
#EXTRALIBS=-lsocket -lnsl -L/usr/X/lib
# for FreeBSD
# for FreeBSD
...
...
rfb.h
View file @
af41bea6
...
@@ -81,7 +81,6 @@ typedef unsigned long KeySym;
...
@@ -81,7 +81,6 @@ typedef unsigned long KeySym;
#define SIGNED
#define SIGNED
#include <sys/types.h>
#include <sys/types.h>
/* typedef unsigned int pthread_t; */
/* typedef unsigned int pthread_t; */
/* SUN cc seems to have problems with inclusion of sys/types! */
#elif defined(WIN32)
#elif defined(WIN32)
#define _LITTLE_ENDIAN 1234
#define _LITTLE_ENDIAN 1234
#define _BYTE_ORDER _LITTLE_ENDIAN
#define _BYTE_ORDER _LITTLE_ENDIAN
...
@@ -111,6 +110,10 @@ typedef unsigned long KeySym;
...
@@ -111,6 +110,10 @@ typedef unsigned long KeySym;
#define SOCKET int
#define SOCKET int
#endif
#endif
#ifndef INADDR_NONE
#define INADDR_NONE ((in_addr_t) 0xffffffff)
#endif
#ifdef HAVE_PTHREADS
#ifdef HAVE_PTHREADS
#include <pthread.h>
#include <pthread.h>
#if 0 /* debugging */
#if 0 /* debugging */
...
...
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