libfreerdp-core: fix build on linux
authorMarc-André Moreau <marcandre.moreau@gmail.com>
Thu, 13 Dec 2012 04:36:15 +0000 (23:36 -0500)
committerMarc-André Moreau <marcandre.moreau@gmail.com>
Thu, 13 Dec 2012 04:36:15 +0000 (23:36 -0500)
libfreerdp/core/gateway/tsg.h
libfreerdp/core/test/TestCoreRts.c
winpr/libwinpr/handle/handle.c

index b10d2b1..e9e5b29 100644 (file)
@@ -25,7 +25,8 @@
 typedef struct rdp_tsg rdpTsg;
 
 #include "rpc.h"
-#include "transport.h"
+
+#include "../transport.h"
 
 #include <winpr/rpc.h>
 #include <winpr/winpr.h>
index fb30c7e..ccfab54 100644 (file)
@@ -9,7 +9,7 @@
 #include <winpr/print.h>
 #include <freerdp/freerdp.h>
 
-#include "rts.h"
+#include "gateway/rts.h"
 
 /* mocks */
 
index 58f8fe4..1994eae 100644 (file)
@@ -44,7 +44,7 @@ BOOL CloseHandle(HANDLE hObject)
        {
                WINPR_THREAD* thread;
 
-               thread = (WINPR_THREAD*) thread;
+               thread = (WINPR_THREAD*) Object;
 
                free(thread);