mirror of
https://github.com/KDE/krfb
synced 2026-07-01 07:41:17 -07:00
tru64 fix
svn path=/trunk/kdenetwork/krfb/; revision=180556
This commit is contained in:
@@ -38,6 +38,9 @@
|
||||
#endif
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#ifdef __osf__
|
||||
typedef int socklen_t;
|
||||
#endif
|
||||
|
||||
#ifdef USE_LIBWRAP
|
||||
#include <tcpd.h>
|
||||
|
||||
@@ -21,6 +21,9 @@
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
#ifdef __osf__
|
||||
typedef int socklen_t;
|
||||
#endif
|
||||
#ifndef WIN32
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
@@ -388,7 +391,7 @@ void defaultSetXCutText(char* text, int len, rfbClientPtr cl)
|
||||
|
||||
/* TODO: add a nice VNC or RFB cursor */
|
||||
|
||||
#if defined(WIN32) || defined(sparc) || defined(_AIX)
|
||||
#if defined(WIN32) || defined(sparc) || defined(_AIX) || defined(__osf__)
|
||||
static rfbCursor myCursor =
|
||||
{
|
||||
"\000\102\044\030\044\102\000",
|
||||
|
||||
@@ -43,7 +43,9 @@ typedef unsigned short CARD16;
|
||||
typedef unsigned int CARD32;
|
||||
typedef CARD32 Pixel;
|
||||
/* typedef CARD32 KeySym; */
|
||||
#ifndef __osf__
|
||||
typedef unsigned long KeySym;
|
||||
#endif
|
||||
#define SIGNED signed
|
||||
/* for some strange reason, "typedef signed char Bool;" yields a four byte
|
||||
signed int on IRIX, but only for rfbserver.o!!! */
|
||||
@@ -91,8 +93,13 @@ typedef unsigned long KeySym;
|
||||
#undef Bool
|
||||
#define Bool int
|
||||
#else
|
||||
#ifdef __osf__
|
||||
#include <machine/endian.h>
|
||||
#define _BYTE_ORDER BYTE_ORDER
|
||||
#else
|
||||
#include <sys/endian.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef _BYTE_ORDER
|
||||
#define _BYTE_ORDER __BYTE_ORDER
|
||||
|
||||
@@ -37,6 +37,9 @@
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
#ifdef __osf__
|
||||
typedef int socklen_t;
|
||||
#endif
|
||||
|
||||
#ifdef CORBA
|
||||
#include <vncserverctrl.h>
|
||||
|
||||
@@ -57,6 +57,9 @@
|
||||
#include <unistd.h>
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
#if defined(__osf__)
|
||||
typedef int socklen_t;
|
||||
#endif
|
||||
#if defined(__linux__) && defined(NEED_TIMEVAL)
|
||||
struct timeval
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user