aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend/headless.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr/backend/headless.h')
-rw-r--r--include/wlr/backend/headless.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/wlr/backend/headless.h b/include/wlr/backend/headless.h
index 02c7cd11..eab102e2 100644
--- a/include/wlr/backend/headless.h
+++ b/include/wlr/backend/headless.h
@@ -1,3 +1,11 @@
+/*
+ * This an unstable interface of wlroots. No guarantees are made regarding the
+ * future consistency of this API.
+ */
+#ifndef WLR_USE_UNSTABLE
+#error "Add -DWLR_USE_UNSTABLE to enable unstable wlroots features"
+#endif
+
#ifndef WLR_BACKEND_HEADLESS_H
#define WLR_BACKEND_HEADLESS_H