Commit 824644d0 authored by Christian Beier's avatar Christian Beier Committed by Johannes Schindelin

SDLvncviewer: fix compilation from dist tarball.

Signed-off-by: 's avatarChristian Beier <dontmind@freeshell.org>
Signed-off-by: 's avatarJohannes Schindelin <johannes.schindelin@gmx.de>
parent 030ccf67
...@@ -18,6 +18,7 @@ if HAVE_LIBSDL ...@@ -18,6 +18,7 @@ if HAVE_LIBSDL
SDLVIEWER=SDLvncviewer SDLVIEWER=SDLvncviewer
SDLvncviewer_CFLAGS=$(SDL_CFLAGS) SDLvncviewer_CFLAGS=$(SDL_CFLAGS)
SDLvncviewer_SOURCES=SDLvncviewer.c scrap.c scrap.h
if HAVE_X11 if HAVE_X11
X11_LIB=-lX11 X11_LIB=-lX11
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include <SDL.h> #include <SDL.h>
#include <signal.h> #include <signal.h>
#include <rfb/rfbclient.h> #include <rfb/rfbclient.h>
#include "scrap.c" #include "scrap.h"
struct { int sdl; int rfb; } buttonMapping[]={ struct { int sdl; int rfb; } buttonMapping[]={
{1, rfbButton1Mask}, {1, rfbButton1Mask},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment