aboutsummaryrefslogtreecommitdiff
path: root/rootston/main.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-12-27 04:30:05 -0500
committerGitHub <noreply@github.com>2017-12-27 04:30:05 -0500
commit47f9f91d157c9f650afe1172b3bb2d52def66a10 (patch)
tree27d6bd1104a3d3795905adfcd9e442aa28c4bf9c /rootston/main.c
parent4d744aeb230f36d990c102a89314f95ff802ca75 (diff)
parent57a09c8ca45e0ec023b7be88745b21fc71649c52 (diff)
Merge pull request #523 from besser82/bugfix/config_header
config: Put all defines into config.h
Diffstat (limited to 'rootston/main.c')
-rw-r--r--rootston/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rootston/main.c b/rootston/main.c
index 161824d6..87f1c0b4 100644
--- a/rootston/main.c
+++ b/rootston/main.c
@@ -3,6 +3,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <wayland-server.h>
+#include "config.h"
#include <wlr/backend.h>
#include <wlr/backend/headless.h>
#include <wlr/backend/multi.h>
@@ -64,7 +65,7 @@ int main(int argc, char **argv) {
}
setenv("WAYLAND_DISPLAY", socket, true);
-#ifndef HAS_XWAYLAND
+#ifndef WLR_HAS_XWAYLAND
ready(NULL, NULL);
#else
if (server.desktop->xwayland != NULL) {