From 824644d0a2b43fa5de4f3ad6828dd1192164f42d Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Mon, 31 Jan 2011 18:18:08 +0100 Subject: SDLvncviewer: fix compilation from dist tarball. Signed-off-by: Christian Beier Signed-off-by: Johannes Schindelin --- client_examples/Makefile.am | 1 + client_examples/SDLvncviewer.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 #include #include -#include "scrap.c" +#include "scrap.h" struct { int sdl; int rfb; } buttonMapping[]={ {1, rfbButton1Mask}, -- cgit v1.2.1