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