GUAC-730: Fix headers for telnet.

This commit is contained in:
Michael Jumper 2014-06-11 11:09:44 -07:00
parent 48d1597418
commit 9c6770e016
5 changed files with 15 additions and 17 deletions

View File

@ -32,7 +32,6 @@
#include <pthread.h> #include <pthread.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <unistd.h>
#include <guacamole/client.h> #include <guacamole/client.h>
#include <guacamole/protocol.h> #include <guacamole/protocol.h>

View File

@ -25,6 +25,9 @@
#include "clipboard.h" #include "clipboard.h"
#include "terminal.h" #include "terminal.h"
#include <guacamole/client.h>
#include <guacamole/stream.h>
int guac_telnet_clipboard_handler(guac_client* client, guac_stream* stream, int guac_telnet_clipboard_handler(guac_client* client, guac_stream* stream,
char* mimetype) { char* mimetype) {

View File

@ -26,17 +26,13 @@
#include "terminal.h" #include "terminal.h"
#include "telnet_client.h" #include "telnet_client.h"
#include <fcntl.h>
#include <stdlib.h>
#include <string.h>
#include <sys/select.h>
#include <sys/stat.h>
#include <guacamole/socket.h>
#include <guacamole/protocol.h>
#include <guacamole/client.h> #include <guacamole/client.h>
#include <libtelnet.h> #include <libtelnet.h>
#include <pthread.h>
#include <stdlib.h>
#include <unistd.h>
int guac_telnet_client_handle_messages(guac_client* client) { int guac_telnet_client_handle_messages(guac_client* client) {
guac_telnet_client_data* client_data = (guac_telnet_client_data*) client->data; guac_telnet_client_data* client_data = (guac_telnet_client_data*) client->data;

View File

@ -22,10 +22,13 @@
#include "config.h" #include "config.h"
#include "client.h" #include "client.h"
#include "guac_handlers.h"
#include "telnet_client.h" #include "telnet_client.h"
#include "terminal.h" #include "terminal.h"
#include <guacamole/client.h>
#include <guacamole/protocol.h>
#include <libtelnet.h>
#include <errno.h> #include <errno.h>
#include <netdb.h> #include <netdb.h>
#include <netinet/in.h> #include <netinet/in.h>
@ -33,14 +36,9 @@
#include <string.h> #include <string.h>
#include <sys/select.h> #include <sys/select.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/types.h> #include <sys/time.h>
#include <unistd.h> #include <unistd.h>
#include <guacamole/client.h>
#include <guacamole/protocol.h>
#include <guacamole/socket.h>
#include <libtelnet.h>
/** /**
* Support levels for various telnet options, required for connection * Support levels for various telnet options, required for connection
* negotiation by telnet_init(), part of libtelnet. * negotiation by telnet_init(), part of libtelnet.

View File

@ -25,7 +25,9 @@
#include "config.h" #include "config.h"
#include <guacamole/client.h> #include <libtelnet.h>
#include <stdint.h>
/** /**
* Main telnet client thread, handling transfer of telnet output to STDOUT. * Main telnet client thread, handling transfer of telnet output to STDOUT.