Commit 98b9663e authored by dscho's avatar dscho

the correct way to include rfb.h is now "#include <rfb/rfb.h>"

parent cbf75f79
CFLAGS = -I ..
LDADD = ../libvncserver.a
noinst_PROGRAMS=zippy
......
......@@ -74,7 +74,7 @@ typedef KeySym X_KeySym;
/* the KeySym typedef cannot be removed, so use an alias for rest of file: */
#define KeySym RFBKeySym
#include "rfb.h"
#include <rfb/rfb.h>
Display *dpy = 0;
int scr;
......
#include <stdio.h>
#include <stdlib.h>
#include <rfb.h>
#include <keysym.h>
#include <rfb/rfb.h>
#include <rfb/keysym.h>
#include "default8x16.h"
int maxx=400, maxy=400, bpp=4;
......
CFLAGS=-I..
if HAVE_LIBPTHREAD
BACKGROUND_TEST=blooptest
endif
......
#include "rfb.h"
#include <rfb/rfb.h>
int main(int argc,char** argv)
......
......@@ -31,8 +31,8 @@
#include <netdb.h>
#endif
#include "rfb.h"
#include "keysym.h"
#include <rfb/rfb.h>
#include <rfb/keysym.h>
const int bpp=4;
int maxx=800, maxy=600;
......
#include "rfb.h"
#include <rfb/rfb.h>
#define FONTDIR "/usr/lib/kbd/consolefonts/"
#define DEFAULTFONT FONTDIR "default8x16"
......
......@@ -38,8 +38,8 @@
#undef Byte
#undef TRUE
#undef Bool
#include "rfb.h"
#include "keysym.h"
#include <rfb/rfb.h>
#include <rfb/keysym.h>
#include <IOKit/pwr_mgt/IOPMLib.h>
#include <IOKit/pwr_mgt/IOPM.h>
......
#include <stdio.h>
#include "rfb.h"
#include "keysym.h"
#include <rfb/rfb.h>
#include <rfb/keysym.h>
void HandleKey(Bool down,KeySym key,rfbClientPtr cl)
{
......
#include <stdio.h>
#include "rfb.h"
#include "keysym.h"
#include <rfb/rfb.h>
#include <rfb/keysym.h>
#ifndef ALLOW24BPP
#error "I need the ALLOW24BPP flag to work"
......
......@@ -20,7 +20,7 @@
*/
#include <stdio.h>
#include "rfb.h"
#include <rfb/rfb.h>
void usage(void)
{
......
......@@ -3,7 +3,7 @@
#include <stdlib.h>
#include <sys/types.h>
#include <sys/socket.h>
#include "rfb.h"
#include <rfb/rfb.h>
#include "default8x16.h"
char f[640*480];
......
......@@ -39,7 +39,7 @@ while test $# -gt 0; do
echo @VERSION@
;;
--cflags)
if test @includedir@ != /usr/include ; then
if [ "@includedir@" != /usr/include ]; then
includes=-I@includedir@
fi
echo $includes
......
......@@ -2,6 +2,8 @@ CONSOLE_SRCS=VNConsole.c
noinst_HEADERS=VNConsole.h vga.h
CFLAGS=-I..
LDADD=../libvncserver.a
INCLUDES=-I. -I../include
......
#include "rfb.h"
#include <rfb/rfb.h>
/* this is now the default */
#define USE_ATTRIBUTE_BUFFER
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment