summaryrefslogtreecommitdiff
path: root/include/vis.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/vis.h')
-rw-r--r--include/vis.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/vis.h b/include/vis.h
index 564c10d..16f7976 100644
--- a/include/vis.h
+++ b/include/vis.h
@@ -27,7 +27,11 @@
#ifndef LIBBSD_VIS_H
#define LIBBSD_VIS_H
+#ifdef LIBBSD_DISABLE_DEPRECATED
+#error "Deprecated header, use <bsd/vis.h> or libbsd-overlay.pc instead."
+#else
#warning "Deprecated header, use <bsd/vis.h> or libbsd-overlay.pc instead."
+#endif
#include <bsd/vis.h>