summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordscho <dscho>2002-01-17 09:37:39 +0000
committerdscho <dscho>2002-01-17 09:37:39 +0000
commitfbf2c977fe4c70fa2e551ecc0264c4b8184386f2 (patch)
tree61327a8975c3484037988320f9f7382e4a241766
parent4d7ecfb8c174bb25631aef662bad5d3eb6181363 (diff)
downloadlibtdevnc-fbf2c977fe4c70fa2e551ecc0264c4b8184386f2.tar.gz
libtdevnc-fbf2c977fe4c70fa2e551ecc0264c4b8184386f2.zip
compile warning fix, dependency on 1instance.c
-rw-r--r--1instance.c1
-rw-r--r--Makefile4
2 files changed, 5 insertions, 0 deletions
diff --git a/1instance.c b/1instance.c
index 78d6b27..8feadb5 100644
--- a/1instance.c
+++ b/1instance.c
@@ -4,6 +4,7 @@
#include <errno.h>
#include <string.h>
#include <unistd.h>
+#include <stdio.h>
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)