diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/Makefile.am | 5 | ||||
-rw-r--r-- | examples/vncev.c | 1 |
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" |