Skip to content

Commit

Permalink
build: add more include guards
Browse files Browse the repository at this point in the history
Allows us to use unity (jumbo) builds
  • Loading branch information
ammen99 committed Sep 4, 2023
1 parent fc2ddfb commit 9a2d2c1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions plugins/blur/blur.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma once
#include "wayfire/geometry.hpp"
#include <wayfire/core.hpp>
#include <wayfire/opengl.hpp>
Expand Down
2 changes: 2 additions & 0 deletions plugins/cube/shaders.tpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

static const char* cube_vertex_2_0 =
R"(#version 100
attribute mediump vec3 position;
Expand Down
2 changes: 2 additions & 0 deletions plugins/scale/scale.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#include "wayfire/toplevel-view.hpp"
#include <wayfire/plugin.hpp>
#include <wayfire/output.hpp>
Expand Down
1 change: 1 addition & 0 deletions src/output/output-impl.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma once
#include "output/promotion-manager.hpp"
#include "wayfire/bindings.hpp"
#include "wayfire/output.hpp"
Expand Down
2 changes: 2 additions & 0 deletions src/view/view-keyboard-interaction.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#include "view/view-impl.hpp"
#include "wayfire/signal-definitions.hpp"
#include "wayfire/signal-provider.hpp"
Expand Down

0 comments on commit 9a2d2c1

Please sign in to comment.