Commit 14854d2e authored by Johannes Schindelin's avatar Johannes Schindelin

Fix compilation with newer automake

For some reason, this developer's automake no longer understands _SOURCES
lines anymore. Work around that.
Signed-off-by: 's avatarJohannes Schindelin <johannes.schindelin@gmx.de>
parent 9a9a1c5f
...@@ -19,7 +19,7 @@ SDLVIEWER=SDLvncviewer ...@@ -19,7 +19,7 @@ SDLVIEWER=SDLvncviewer
SDLvncviewer_CFLAGS=$(SDL_CFLAGS) SDLvncviewer_CFLAGS=$(SDL_CFLAGS)
SDLvncviewer_SOURCES=SDLvncviewer.c scrap.c SDLvncviewer_SOURCES=SDLvncviewer.c
if HAVE_X11 if HAVE_X11
X11_LIB=-lX11 X11_LIB=-lX11
......
#include <SDL.h> #include <SDL.h>
#include <signal.h> #include <signal.h>
#include <rfb/rfbclient.h> #include <rfb/rfbclient.h>
#include "scrap.h" #include "scrap.c"
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