summaryrefslogtreecommitdiff
path: root/openbsd-compat/vis.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/vis.h')
-rw-r--r--openbsd-compat/vis.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-compat/vis.h b/openbsd-compat/vis.h
index 3898a9e70ba4..d1286c99df3f 100644
--- a/openbsd-compat/vis.h
+++ b/openbsd-compat/vis.h
@@ -35,7 +35,7 @@
/* OPENBSD ORIGINAL: include/vis.h */
#include "includes.h"
-#if !defined(HAVE_STRNVIS)
+#if !defined(HAVE_STRNVIS) || defined(BROKEN_STRNVIS)
#ifndef _VIS_H_
#define _VIS_H_
@@ -92,4 +92,4 @@ ssize_t strnunvis(char *, const char *, size_t)
#endif /* !_VIS_H_ */
-#endif /* !HAVE_STRNVIS */
+#endif /* !HAVE_STRNVIS || BROKEN_STRNVIS */