aboutsummaryrefslogtreecommitdiff
path: root/examples/screenshot.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-02-16 23:36:17 +0100
committerGitHub <noreply@github.com>2018-02-16 23:36:17 +0100
commit088028c570dd5b52f81069654166f0117667fac0 (patch)
tree54630cfe4990d868a928a55a3bc5563ff3bef11d /examples/screenshot.c
parent8c1cc45c7db9be4b49ffb27541e908f492fd59ba (diff)
parent4941befeb0fb268e5c60fb6001dc381320407072 (diff)
Merge pull request #630 from martinetd/xdg_shell
xdg-shell stable implementation
Diffstat (limited to 'examples/screenshot.c')
-rw-r--r--examples/screenshot.c12
1 files changed, 6 insertions, 6 deletions
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;