]> git.mdlowis.com Git - proto/labwc.git/commitdiff
output.c: define _POSIX_C_SOURCE (issue #4)
authorJohan Malm <jgm323@gmail.com>
Thu, 15 Oct 2020 20:03:04 +0000 (21:03 +0100)
committerJohan Malm <jgm323@gmail.com>
Thu, 15 Oct 2020 20:03:04 +0000 (21:03 +0100)
include/labwc.h
src/output.c

index 81ef4467851f4197dc31ac95b5ed68b8b1bfea81..974381d172ba9441a935f4e056498be0f0849150 100644 (file)
@@ -5,7 +5,6 @@
 #include <stdbool.h>
 #include <stdio.h>
 #include <stdlib.h>
-#include <sys/time.h>
 #include <time.h>
 #include <unistd.h>
 #include <wayland-server-core.h>
index f34f7ac57623307e9cbdd6a8b94bcd8abba3cacf..c121c35d15fc2f26043b9b352876227811fcbf7e 100644 (file)
@@ -1,3 +1,4 @@
+#define _POSIX_C_SOURCE 200809L
 #include <wlr/types/wlr_xdg_output_v1.h>
 #include "labwc.h"
 #include "theme/theme.h"