Build tsx11 layer as a separate shared library.

diff --git a/include/ts_xf86dga.h b/include/ts_xf86dga.h
index 39efc01..289a3ce 100644
--- a/include/ts_xf86dga.h
+++ b/include/ts_xf86dga.h
@@ -16,6 +16,9 @@
 #include <X11/Xlib.h>
 #include <X11/extensions/xf86dga.h>
 
+extern void (*wine_tsx11_lock)(void);
+extern void (*wine_tsx11_unlock)(void);
+
 extern Bool TSXF86DGAQueryVersion(Display*,int*,int*);
 extern Bool TSXF86DGAQueryExtension(Display*,int*,int*);
 extern Status TSXF86DGAGetVideo(Display*,int,char**,int*,int*,int*);