Use quote-includes for all local headers

pull/12/head
Andri Yngvason 2022-07-06 21:09:02 +00:00
parent fcc6f737ea
commit f1bba8e9bb
9 changed files with 19 additions and 15 deletions

View File

@ -18,8 +18,9 @@
#define OPEN_H264_MAX_CONTEXTS 64
#include "rfb/rfbclient.h"
#include <stdbool.h>
#include <rfb/rfbclient.h>
struct AVFrame;
struct open_h264;

View File

@ -32,14 +32,15 @@
* @file rfbclient.h
*/
#include "rfb/rfbproto.h"
#include "rfb/keysym.h"
#include "rfb/threading.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include <unistd.h>
#include <rfb/rfbproto.h>
#include <rfb/keysym.h>
#include <rfb/threading.h>
#ifdef LIBVNCSERVER_HAVE_SASL
#include <sasl/sasl.h>

View File

@ -22,7 +22,7 @@
#ifdef LIBVNCSERVER_HAVE_SASL
#include <rfb/rfbclient.h>
#include "rfb/rfbclient.h"
/*
* Perform the SASL authentication process

View File

@ -16,11 +16,12 @@
#pragma once
#include "rfb/rfbclient.h"
#include <stdbool.h>
#include <unistd.h>
#include <pixman.h>
#include <wayland-client.h>
#include <rfb/rfbclient.h>
#define VNC_CLIENT_MAX_AV_FRAMES 64

View File

@ -22,8 +22,7 @@
* RichCursor preudo-encodings).
*/
#include <rfb/rfbclient.h>
#include "rfb/rfbclient.h"
#define OPER_SAVE 0
#define OPER_RESTORE 1

View File

@ -15,12 +15,12 @@
*/
#include "open-h264.h"
#include "rfb/rfbclient.h"
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include <arpa/inet.h>
#include <rfb/rfbclient.h>
#include <libavcodec/avcodec.h>
enum open_h264_flags {

View File

@ -17,13 +17,13 @@
* USA.
*/
#include "rfb/rfbclient.h"
#include "tls.h"
#include <stdio.h>
#include <gnutls/gnutls.h>
#include <gnutls/x509.h>
#include <rfb/rfbclient.h>
#include <errno.h>
#include "tls.h"
static const char *rfbTLSPriority = "NORMAL:+DHE-DSS:+RSA:+DHE-RSA:+SRP";
static const char *rfbAnonTLSPriority= "NORMAL:+ANON-DH";

View File

@ -17,10 +17,11 @@
* USA.
*/
#include <rfb/rfbclient.h>
#include <errno.h>
#include "rfb/rfbclient.h"
#include "tls.h"
#include <errno.h>
rfbBool HandleAnonTLSAuth(rfbClient* client)
{
rfbClientLog("TLS is not supported.\n");

View File

@ -18,8 +18,9 @@
* USA.
*/
#include "rfb/rfbclient.h"
#include <stdio.h>
#include <rfb/rfbclient.h>
#include <errno.h>
#include <openssl/err.h>