xdg_shell_v6: add _POSIX_C_SOURCE define for struct timespec

wlroots 1e0e73 added struct timespec to wlr_seat.h, so we need to
define a _POSIX_C_SOURCE large enough whenever we include wlr_seat.h
This commit is contained in:
Dominique Martinet 2017-11-23 00:15:31 +01:00
parent b8f8de27b8
commit 6c1cd82e32
1 changed files with 1 additions and 0 deletions

View File

@ -1,3 +1,4 @@
#define _POSIX_C_SOURCE 199309L
#include <stdlib.h>
#include <wayland-server.h>
#include <wlr/types/wlr_xdg_shell_v6.h>