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:
parent
1cb09480e2
commit
f1e8fc9dbf
|
@ -36,6 +36,7 @@
|
|||
#include <fcntl.h>
|
||||
|
||||
#include <libweston/libweston.h>
|
||||
#include "libweston-internal.h"
|
||||
#include "shared/helpers.h"
|
||||
#include "shared/timespec-util.h"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
#include <sys/uio.h>
|
||||
|
||||
#include <libweston/libweston.h>
|
||||
#include "libweston-internal.h"
|
||||
#include "shared/helpers.h"
|
||||
|
||||
struct clipboard_source {
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#include <assert.h>
|
||||
|
||||
#include <libweston/libweston.h>
|
||||
#include "libweston-internal.h"
|
||||
#include "shared/helpers.h"
|
||||
#include "shared/timespec-util.h"
|
||||
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#include <wayland-util.h>
|
||||
|
||||
#include <libweston/libweston.h>
|
||||
#include "weston-log-internal.h"
|
||||
|
||||
/**
|
||||
* \defgroup wlog weston-logging
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <libweston/libweston.h>
|
||||
#include "xwayland.h"
|
||||
#include "shared/helpers.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue