]> git.mdlowis.com Git - proto/labwc.git/commitdiff
action: fix build warning
authorJohan Malm <jgm323@gmail.com>
Fri, 25 Sep 2020 19:05:20 +0000 (20:05 +0100)
committerJohan Malm <jgm323@gmail.com>
Fri, 25 Sep 2020 19:05:20 +0000 (20:05 +0100)
include/labwc.h
src/action.c
src/server.c

index 87f8cfb5e84ee78434631a3747e354d852095cc4..e869f6732d984d99adcd34019475d55b7b7f8109 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef __LABWC_H
 #define __LABWC_H
 
-#define _POSIX_C_SOURCE 200809L
 #include <getopt.h>
 #include <stdbool.h>
 #include <stdlib.h>
index 4f933f741493fb90dbc7c1f9d6de886f1cf12b90..99e1ff7794176a05668042b9b24e45583d334254 100644 (file)
@@ -1,8 +1,8 @@
 #include <strings.h>
 
-#include "labwc.h"
 #include "common/spawn.h"
 #include "common/log.h"
+#include "labwc.h"
 
 static void reconfigure(void)
 {
index e65e189630997d49bbe06d5644c6afd1df40dc3d..1ea571d774edb15f2b678908207c5dc229d48102 100644 (file)
@@ -1,3 +1,4 @@
+#define _POSIX_C_SOURCE 200809L
 #include "labwc.h"
 #include "theme/theme.h"
 #include "config/rcxml.h"