summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authordscho <dscho>2003-02-20 13:23:07 +0000
committerdscho <dscho>2003-02-20 13:23:07 +0000
commit98b9663e29ebc5a23db392335aef707cf2464487 (patch)
treeaebce1f2844d38988f672d2e5679a147719c37cb /examples
parentcbf75f79c82c53035d3d8fbf363079d8bc0700a5 (diff)
downloadlibvncserver-98b9663e29ebc5a23db392335aef707cf2464487.zip
libvncserver-98b9663e29ebc5a23db392335aef707cf2464487.tar.gz
the correct way to include rfb.h is now "#include <rfb/rfb.h>"
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am2
-rw-r--r--examples/colourmaptest.c2
-rw-r--r--examples/example.c4
-rw-r--r--examples/fontsel.c2
-rw-r--r--examples/mac.c4
-rw-r--r--examples/pnmshow.c4
-rw-r--r--examples/pnmshow24.c4
-rw-r--r--examples/storepasswd.c2
-rw-r--r--examples/vncev.c2
9 files changed, 14 insertions, 12 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 7c1eae8..cb2d6e6 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -1,3 +1,5 @@
+CFLAGS=-I..
+
if HAVE_LIBPTHREAD
BACKGROUND_TEST=blooptest
endif
diff --git a/examples/colourmaptest.c b/examples/colourmaptest.c
index 1e03f9e..9a86197 100644
--- a/examples/colourmaptest.c
+++ b/examples/colourmaptest.c
@@ -1,4 +1,4 @@
-#include "rfb.h"
+#include <rfb/rfb.h>
int main(int argc,char** argv)
diff --git a/examples/example.c b/examples/example.c
index e82ccea..d53da46 100644
--- a/examples/example.c
+++ b/examples/example.c
@@ -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;
diff --git a/examples/fontsel.c b/examples/fontsel.c
index 100db81..5b9745e 100644
--- a/examples/fontsel.c
+++ b/examples/fontsel.c
@@ -1,4 +1,4 @@
-#include "rfb.h"
+#include <rfb/rfb.h>
#define FONTDIR "/usr/lib/kbd/consolefonts/"
#define DEFAULTFONT FONTDIR "default8x16"
diff --git a/examples/mac.c b/examples/mac.c
index 195e58f..6b50174 100644
--- a/examples/mac.c
+++ b/examples/mac.c
@@ -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>
diff --git a/examples/pnmshow.c b/examples/pnmshow.c
index 0a5f47b..e41ad4e 100644
--- a/examples/pnmshow.c
+++ b/examples/pnmshow.c
@@ -1,6 +1,6 @@
#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)
{
diff --git a/examples/pnmshow24.c b/examples/pnmshow24.c
index 7448c65..533c1fb 100644
--- a/examples/pnmshow24.c
+++ b/examples/pnmshow24.c
@@ -1,6 +1,6 @@
#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"
diff --git a/examples/storepasswd.c b/examples/storepasswd.c
index 1470e4d..cc55569 100644
--- a/examples/storepasswd.c
+++ b/examples/storepasswd.c
@@ -20,7 +20,7 @@
*/
#include <stdio.h>
-#include "rfb.h"
+#include <rfb/rfb.h>
void usage(void)
{
diff --git a/examples/vncev.c b/examples/vncev.c
index 663611d..5dbfd0d 100644
--- a/examples/vncev.c
+++ b/examples/vncev.c
@@ -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];
OpenPOWER on IntegriCloud