config: Avoid clash with other config-headers

This commit is contained in:
Björn Esser 2017-12-27 14:37:55 +01:00
parent a0d2a6b445
commit ff13849624
No known key found for this signature in database
GPG key ID: F52E98007594C21D
18 changed files with 19 additions and 16 deletions

1
include/meson.build Normal file
View file

@ -0,0 +1 @@
subdir('wlr')

View file

@ -2,7 +2,7 @@
#define _ROOTSTON_DESKTOP_H
#include <time.h>
#include <wayland-server.h>
#include "config.h"
#include <wlr/config.h>
#include <wlr/types/wlr_output.h>
#include <wlr/types/wlr_output_layout.h>
#include <wlr/types/wlr_compositor.h>

View file

@ -1,7 +1,7 @@
#ifndef _ROOTSTON_SERVER_H
#define _ROOTSTON_SERVER_H
#include <wayland-server.h>
#include "config.h"
#include <wlr/config.h>
#include <wlr/backend.h>
#include <wlr/backend/session.h>
#include <wlr/types/wlr_data_device.h>

View file

@ -2,7 +2,7 @@
#define _ROOTSTON_VIEW_H
#include <stdbool.h>
#include "config.h"
#include <wlr/config.h>
#include <wlr/types/wlr_box.h>
#include <wlr/types/wlr_surface.h>
#include <wlr/types/wlr_xdg_shell_v6.h>

1
include/wlr/meson.build Normal file
View file

@ -0,0 +1 @@
configure_file(output: 'config.h', install_dir: 'include/wlr', configuration: conf_data)

View file

@ -3,7 +3,7 @@
#include <time.h>
#include <stdbool.h>
#include "config.h"
#include <wlr/config.h>
#include <wlr/types/wlr_compositor.h>
#include <wlr/types/wlr_seat.h>
#include <xcb/xcb.h>