baseutils icon indicating copy to clipboard operation
baseutils copied to clipboard

Uneeded reference to sys/cdefs.h causes musl build to fail

Open g4jc opened this issue 5 years ago • 0 comments

As title, I was able to build this by removing the uneeded sys/cdefs.h reference. This header is not included in Gentoo musl.

diff --git a/libopenbsd/vis.h b/libopenbsd/vis.h
index abec9c6..c9c89b2 100644
--- a/libopenbsd/vis.h
+++ b/libopenbsd/vis.h
@@ -73,7 +73,7 @@
  */
 #define        UNVIS_END       1       /* no more characters */
 
-#include <sys/cdefs.h>
 
 char   *vis(char *, int, int, int);
 int    strvis(char *, const char *, int);

g4jc avatar Nov 17 '20 22:11 g4jc