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)