GUAC-1164: Conditionally build display update channel support.
This commit is contained in:
parent
2e73e5eef9
commit
4e2b90cc0a
@ -27,10 +27,13 @@
|
||||
#include "rdp_settings.h"
|
||||
|
||||
#include <freerdp/freerdp.h>
|
||||
#include <freerdp/client/disp.h>
|
||||
#include <guacamole/client.h>
|
||||
#include <guacamole/timestamp.h>
|
||||
|
||||
#ifdef HAVE_FREERDP_CLIENT_DISP_H
|
||||
#include <freerdp/client/disp.h>
|
||||
#endif
|
||||
|
||||
guac_rdp_disp* guac_rdp_disp_alloc() {
|
||||
|
||||
guac_rdp_disp* disp = malloc(sizeof(guac_rdp_disp));
|
||||
|
@ -25,9 +25,12 @@
|
||||
|
||||
#include "rdp_settings.h"
|
||||
|
||||
#include <freerdp/client/disp.h>
|
||||
#include <freerdp/freerdp.h>
|
||||
|
||||
#ifdef HAVE_FREERDP_CLIENT_DISP_H
|
||||
#include <freerdp/client/disp.h>
|
||||
#endif
|
||||
|
||||
/**
|
||||
* The minimum value for width or height, in pixels.
|
||||
*/
|
||||
@ -49,10 +52,12 @@
|
||||
*/
|
||||
typedef struct guac_rdp_disp {
|
||||
|
||||
#ifdef HAVE_FREERDP_DISPLAY_UPDATE_SUPPORT
|
||||
/**
|
||||
* Display control interface.
|
||||
*/
|
||||
DispClientContext* disp;
|
||||
#endif
|
||||
|
||||
/**
|
||||
* The timestamp of the last display update request, or 0 if no request
|
||||
|
Loading…
Reference in New Issue
Block a user