summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2010-03-13 17:37:41 +0100
committerJohannes Schindelin <johannes.schindelin@gmx.de>2010-03-13 17:37:44 +0100
commit14854d2e5ee39dd8cffc246f85ee2a0b5c9dcf1f (patch)
tree51998ffa979cc81b641121dbdd1d425927bf3044
parent9a9a1c5fbc327311ce2bd53e8da5d1b68a1c9382 (diff)
downloadlibtdevnc-14854d2e5ee39dd8cffc246f85ee2a0b5c9dcf1f.tar.gz
libtdevnc-14854d2e5ee39dd8cffc246f85ee2a0b5c9dcf1f.zip
Fix compilation with newer automake
For some reason, this developer's automake no longer understands _SOURCES lines anymore. Work around that. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
-rw-r--r--client_examples/Makefile.am2
-rw-r--r--client_examples/SDLvncviewer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/client_examples/Makefile.am b/client_examples/Makefile.am
index ca5085d..c44b381 100644
--- a/client_examples/Makefile.am
+++ b/client_examples/Makefile.am
@@ -19,7 +19,7 @@ SDLVIEWER=SDLvncviewer
SDLvncviewer_CFLAGS=$(SDL_CFLAGS)
-SDLvncviewer_SOURCES=SDLvncviewer.c scrap.c
+SDLvncviewer_SOURCES=SDLvncviewer.c
if HAVE_X11
X11_LIB=-lX11
diff --git a/client_examples/SDLvncviewer.c b/client_examples/SDLvncviewer.c
index f4e2cb6..5d23ec7 100644
--- a/client_examples/SDLvncviewer.c
+++ b/client_examples/SDLvncviewer.c
@@ -1,7 +1,7 @@
#include <SDL.h>
#include <signal.h>
#include <rfb/rfbclient.h>
-#include "scrap.h"
+#include "scrap.c"
struct { int sdl; int rfb; } buttonMapping[]={
{1, rfbButton1Mask},