summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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},