summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authordscho <dscho>2003-02-09 03:38:26 +0000
committerdscho <dscho>2003-02-09 03:38:26 +0000
commit4f3ac987fba60c77c0fa8556d3888f22828a7a11 (patch)
treef23364201cb06f485a0d1fafc1f9ed09db04ce77 /examples
parentc3d51c32e18fdce88c1e7d003e50c88646fc8e53 (diff)
downloadlibtdevnc-4f3ac987fba60c77c0fa8556d3888f22828a7a11.tar.gz
libtdevnc-4f3ac987fba60c77c0fa8556d3888f22828a7a11.zip
make dist fixed; make rpm introduced
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am5
-rw-r--r--examples/vncev.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 16dff2a..98a4647 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -2,5 +2,10 @@ if HAVE_LIBPTHREAD
BACKGROUND_TEST=blooptest
endif
+noinst_HEADERS=radon.h
+
noinst_PROGRAMS=example pnmshow sratest pnmshow24 fontsel \
vncev storepasswd $(BACKGROUND_TEST)
+
+LDADD = -L.. -lvncserver
+
diff --git a/examples/vncev.c b/examples/vncev.c
index 8116815..663611d 100644
--- a/examples/vncev.c
+++ b/examples/vncev.c
@@ -1,6 +1,7 @@
/* This program is a simple server to show events coming from the client */
#include <stdio.h>
#include <stdlib.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include "rfb.h"
#include "default8x16.h"