summaryrefslogtreecommitdiff
path: root/test/vis-openbsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/vis-openbsd.c')
-rw-r--r--test/vis-openbsd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/vis-openbsd.c b/test/vis-openbsd.c
index 99c4198..cd39675 100644
--- a/test/vis-openbsd.c
+++ b/test/vis-openbsd.c
@@ -24,12 +24,11 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#define LIBBSD_OPENBSD_VIS 1
+
#include <assert.h>
#include <string.h>
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wcpp"
#include <vis.h>
-#pragma GCC diagnostic pop
int
main(int argc, char **argv)