libweston: add missing include

Fixes missing prototypes compilation warnings emitted when a function
is defined before its prototype is declared.

These warnings were introduced over time since the switch to meson
because the -Wmissing-protoypes was not included in the compilation
arguments.

Signed-off-by: Guillaume Champagne <champagne.guillaume.c@gmail.com>
This commit is contained in:
Guillaume Champagne 2020-01-27 20:14:29 -05:00 committed by Pekka Paalanen
parent 1cb09480e2
commit f1e8fc9dbf
9 changed files with 9 additions and 0 deletions

View file

@ -36,6 +36,7 @@
#include <fcntl.h>
#include <libweston/libweston.h>
#include "libweston-internal.h"
#include "shared/helpers.h"
#include "shared/timespec-util.h"

View file

@ -30,6 +30,7 @@
#include <linux/input.h>
#include <libweston/libweston.h>
#include "libweston-internal.h"
#include "shared/helpers.h"
#include "shared/timespec-util.h"

View file

@ -34,6 +34,7 @@
#include <sys/uio.h>
#include <libweston/libweston.h>
#include "libweston-internal.h"
#include "shared/helpers.h"
struct clipboard_source {

View file

@ -32,6 +32,7 @@
#include <string.h>
#include <libweston/libweston.h>
#include <libweston/weston-log.h>
#include "libweston-internal.h"
#include "weston-content-protection-server-protocol.h"
#include "shared/helpers.h"
#include "shared/timespec-util.h"

View file

@ -33,6 +33,7 @@
#include <assert.h>
#include <libweston/libweston.h>
#include "libweston-internal.h"
#include "shared/helpers.h"
#include "shared/timespec-util.h"

View file

@ -35,6 +35,7 @@
#include <wayland-util.h>
#include <libweston/libweston.h>
#include "weston-log-internal.h"
/**
* \defgroup wlog weston-logging

View file

@ -29,6 +29,7 @@
#include <stdlib.h>
#include <libweston/libweston.h>
#include "libweston-internal.h"
static int
noop_renderer_read_pixels(struct weston_output *output,

View file

@ -35,6 +35,7 @@
#include "shared/timespec-util.h"
#include <libweston/libweston.h>
#include "libweston-internal.h"
#include "backend.h"
#include "weston-touch-calibration-server-protocol.h"

View file

@ -32,6 +32,7 @@
#include <fcntl.h>
#include <errno.h>
#include <libweston/libweston.h>
#include "xwayland.h"
#include "shared/helpers.h"