GUAC-730: Fix headers for VNC.

This commit is contained in:
Michael Jumper 2014-06-11 11:15:35 -07:00
parent 9c6770e016
commit adc15d50eb
5 changed files with 25 additions and 21 deletions

View File

@ -30,19 +30,19 @@
#include "guac_pointer_cursor.h"
#include "vnc_handlers.h"
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#ifdef ENABLE_PULSE
#include "pulse.h"
#endif
#include <rfb/rfbclient.h>
#include <guacamole/audio.h>
#include <rfb/rfbproto.h>
#include <guacamole/client.h>
#include <guacamole/protocol.h>
#include <guacamole/socket.h>
#ifdef ENABLE_PULSE
#include "pulse.h"
#endif
#include <stdlib.h>
#include <string.h>
#include <time.h>
/* Client plugin arguments */
const char* GUAC_CLIENT_ARGS[] = {

View File

@ -29,7 +29,7 @@
#include "guac_surface.h"
#include <guacamole/audio.h>
#include <guacamole/client.h>
#include <guacamole/layer.h>
#include <rfb/rfbclient.h>
#ifdef ENABLE_PULSE

View File

@ -26,6 +26,10 @@
#include "guac_clipboard.h"
#include "guac_iconv.h"
#include <guacamole/client.h>
#include <guacamole/stream.h>
#include <rfb/rfbclient.h>
int guac_vnc_clipboard_handler(guac_client* client, guac_stream* stream,
char* mimetype) {

View File

@ -23,16 +23,11 @@
#include "config.h"
#include "client.h"
#include "clipboard.h"
#include "guac_clipboard.h"
#include "guac_surface.h"
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <iconv.h>
#include <guacamole/client.h>
#include <guacamole/protocol.h>
#include <guacamole/timestamp.h>
#include <rfb/rfbclient.h>
@ -40,6 +35,8 @@
#include "pulse.h"
#endif
#include <stdlib.h>
int vnc_guac_client_handle_messages(guac_client* client) {
vnc_guac_client_data* guac_client_data = (vnc_guac_client_data*) client->data;

View File

@ -26,21 +26,24 @@
#include "guac_iconv.h"
#include "guac_surface.h"
#include <stdlib.h>
#include <syslog.h>
#include <time.h>
#include <cairo/cairo.h>
#include <rfb/rfbclient.h>
#include <guacamole/socket.h>
#include <guacamole/protocol.h>
#include <guacamole/client.h>
#include <guacamole/layer.h>
#include <guacamole/protocol.h>
#include <guacamole/socket.h>
#include <rfb/rfbclient.h>
#include <rfb/rfbproto.h>
/* Define cairo_format_stride_for_width() if missing */
#ifndef HAVE_CAIRO_FORMAT_STRIDE_FOR_WIDTH
#define cairo_format_stride_for_width(format, width) (width*4)
#endif
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <syslog.h>
void guac_vnc_cursor(rfbClient* client, int x, int y, int w, int h, int bpp) {
guac_client* gc = rfbClientGetClientData(client, __GUAC_CLIENT);