config: Put all defines into config.h

This commit is contained in:
Björn Esser 2017-12-26 18:51:27 +01:00
parent 4d744aeb23
commit 57a09c8ca4
No known key found for this signature in database
GPG key ID: F52E98007594C21D
16 changed files with 37 additions and 23 deletions

View file

@ -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) {