summaryrefslogtreecommitdiffstats
path: root/client_examples
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2011-01-31 18:18:08 +0100
committerJohannes Schindelin <johannes.schindelin@gmx.de>2011-01-31 11:54:18 -0600
commit824644d0a2b43fa5de4f3ad6828dd1192164f42d (patch)
tree2899cce444800854a185658ea4d79f46d7be1f19 /client_examples
parent030ccf673d96016733ffb3bef3feede20dba19a7 (diff)
downloadlibtdevnc-824644d0a2b43fa5de4f3ad6828dd1192164f42d.tar.gz
libtdevnc-824644d0a2b43fa5de4f3ad6828dd1192164f42d.zip
SDLvncviewer: fix compilation from dist tarball.
Signed-off-by: Christian Beier <dontmind@freeshell.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'client_examples')
-rw-r--r--client_examples/Makefile.am1
-rw-r--r--client_examples/SDLvncviewer.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/client_examples/Makefile.am b/client_examples/Makefile.am
index c26c1c9..8619dc2 100644
--- a/client_examples/Makefile.am
+++ b/client_examples/Makefile.am
@@ -18,6 +18,7 @@ if HAVE_LIBSDL
SDLVIEWER=SDLvncviewer
SDLvncviewer_CFLAGS=$(SDL_CFLAGS)
+SDLvncviewer_SOURCES=SDLvncviewer.c scrap.c scrap.h
if HAVE_X11
X11_LIB=-lX11
diff --git a/client_examples/SDLvncviewer.c b/client_examples/SDLvncviewer.c
index 12ef1b0..0f6992a 100644
--- a/client_examples/SDLvncviewer.c
+++ b/client_examples/SDLvncviewer.c
@@ -5,7 +5,7 @@
#include <SDL.h>
#include <signal.h>
#include <rfb/rfbclient.h>
-#include "scrap.c"
+#include "scrap.h"
struct { int sdl; int rfb; } buttonMapping[]={
{1, rfbButton1Mask},