diff options
| -rw-r--r-- | Makefile | 4 | ||||
| -rw-r--r-- | x11vnc.c | 1 |
2 files changed, 3 insertions, 2 deletions
@@ -9,8 +9,8 @@ VNCSERVERLIB=-L. -lvncserver -L/usr/local/lib -lz -ljpeg # The code for 3 Bytes/Pixel is not very efficient! FLAG24 = -DALLOW24BPP -OPTFLAGS=-g # -Wall -#OPTFLAGS=-O2 -Wall +#OPTFLAGS=-g # -Wall +OPTFLAGS=-O2 -Wall CFLAGS=$(OPTFLAGS) $(PTHREADDEF) $(FLAG24) $(INCLUDES) RANLIB=ranlib @@ -4,6 +4,7 @@ #include <X11/Xlib.h> #include <X11/keysym.h> +#include <X11/extensions/XTest.h> #ifndef NO_SHM #include <X11/extensions/XShm.h> #include <sys/shm.h> |
