aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2018-02-15 07:17:02 +0100
committerDominique Martinet <asmadeus@codewreck.org>2018-02-15 07:17:02 +0100
commitd1b28ec812248b337fd53f9478c36234f44c71f3 (patch)
tree09763c5ab22e28dba2be2387e0751387a22f100c /examples
parent6ae96c4832626642670aa6fdc207f659812753f3 (diff)
wayland protocol headers: use double-quote for includes
These headers are not installed so we should look for these locally
Diffstat (limited to 'examples')
-rw-r--r--examples/idle.c2
-rw-r--r--examples/screenshot.c12
2 files changed, 7 insertions, 7 deletions
diff --git a/examples/idle.c b/examples/idle.c
index 57c366d1..2b155c68 100644
--- a/examples/idle.c
+++ b/examples/idle.c
@@ -6,8 +6,8 @@
#include <pthread.h>
#include <wayland-client.h>
#include <wayland-client-protocol.h>
-#include <idle-client-protocol.h>
#include <wlr/util/log.h>
+#include "idle-client-protocol.h"
static struct org_kde_kwin_idle *idle_manager = NULL;
static struct wl_seat *seat = NULL;
diff --git a/examples/screenshot.c b/examples/screenshot.c
index 7de2ab8e..c163df75 100644
--- a/examples/screenshot.c
+++ b/examples/screenshot.c
@@ -23,20 +23,20 @@
#define _XOPEN_SOURCE 700
#define _POSIX_C_SOURCE 199309L
+#include <errno.h>
+#include <fcntl.h>
+#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
+#include <sys/param.h>
#include <sys/wait.h>
#include <unistd.h>
-#include <fcntl.h>
-#include <errno.h>
#include <wayland-client.h>
-#include <limits.h>
-#include <sys/param.h>
-#include <screenshooter-client-protocol.h>
-#include "util/os-compatibility.h"
#include <wlr/util/log.h>
+#include "screenshooter-client-protocol.h"
+#include "util/os-compatibility.h"
static struct wl_shm *shm = NULL;
static struct orbital_screenshooter *screenshooter = NULL;