diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-12-27 04:30:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-27 04:30:05 -0500 |
commit | 47f9f91d157c9f650afe1172b3bb2d52def66a10 (patch) | |
tree | 27d6bd1104a3d3795905adfcd9e442aa28c4bf9c /backend/session/direct-ipc.c | |
parent | 4d744aeb230f36d990c102a89314f95ff802ca75 (diff) | |
parent | 57a09c8ca45e0ec023b7be88745b21fc71649c52 (diff) |
Merge pull request #523 from besser82/bugfix/config_header
config: Put all defines into config.h
Diffstat (limited to 'backend/session/direct-ipc.c')
-rw-r--r-- | backend/session/direct-ipc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backend/session/direct-ipc.c b/backend/session/direct-ipc.c index 0ea51e2f..52cdbbb9 100644 --- a/backend/session/direct-ipc.c +++ b/backend/session/direct-ipc.c @@ -18,12 +18,13 @@ #include <linux/major.h> #endif #include <xf86drm.h> +#include "config.h" #include <wlr/util/log.h> #include "backend/session/direct-ipc.h" enum { DRM_MAJOR = 226 }; -#ifdef HAS_LIBCAP +#ifdef WLR_HAS_LIBCAP #include <sys/capability.h> static bool have_permissions(void) { |