server: proxy: pf_client.c: remove unused includes
authorKobi Mizrachi <kmizrachi18@gmail.com>
Mon, 20 Jan 2020 10:27:01 +0000 (12:27 +0200)
committerakallabeth <akallabeth@users.noreply.github.com>
Tue, 21 Jan 2020 11:08:39 +0000 (12:08 +0100)
server/proxy/pf_client.c

index 2d39b75..a225629 100644 (file)
 #include "config.h"
 #endif
 
-#include <errno.h>
-#include <stdio.h>
-#include <string.h>
-
 #include <freerdp/freerdp.h>
-#include <freerdp/constants.h>
 #include <freerdp/gdi/gdi.h>
-#include <freerdp/utils/signal.h>
-
-#include <freerdp/client/file.h>
 #include <freerdp/client/cmdline.h>
-#include <freerdp/client/cliprdr.h>
-#include <freerdp/client/channels.h>
-#include <freerdp/channels/channels.h>
-#include <freerdp/log.h>
-
-#include <winpr/crt.h>
-#include <winpr/synch.h>
 
 #include "pf_channels.h"
 #include "pf_gdi.h"
@@ -134,9 +119,6 @@ static BOOL pf_client_pre_connect(freerdp* instance)
        settings->GlyphSupportLevel = GLYPH_SUPPORT_NONE;
        ZeroMemory(instance->settings->OrderSupport, 32);
 
-       settings->OsMajorType = OSMAJORTYPE_UNIX;
-       settings->OsMinorType = OSMINORTYPE_NATIVE_XSERVER;
-
        settings->SupportDynamicChannels = TRUE;
 
        /* Multimon */