From fbf2c977fe4c70fa2e551ecc0264c4b8184386f2 Mon Sep 17 00:00:00 2001 From: dscho Date: Thu, 17 Jan 2002 09:37:39 +0000 Subject: [PATCH] compile warning fix, dependency on 1instance.c --- 1instance.c | 1 + Makefile | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/1instance.c b/1instance.c index 78d6b27..8feadb5 100644 --- a/1instance.c +++ b/1instance.c @@ -4,6 +4,7 @@ #include #include #include +#include typedef struct { char* filename; /* this file is the pipe (set by user) */ diff --git a/Makefile b/Makefile index e9ad57b..d2a552d 100644 --- a/Makefile +++ b/Makefile @@ -54,9 +54,13 @@ example: example.o libvncserver.a pnmshow: pnmshow.o libvncserver.a $(CC) -o pnmshow pnmshow.o $(LIBS) +mac.o: mac.c 1instance.c + OSXvnc-server: mac.o libvncserver.a $(CC) -o OSXvnc-server mac.o $(LIBS) $(OSX_LIBS) +x11vnc.o: x11vnc.c 1instance.c + x11vnc: x11vnc.o libvncserver.a $(CC) -o x11vnc x11vnc.o libvncserver.a -lz -ljpeg $(XLIBS)