st

Suckless' st with my personal patches
git clone https://git.instinctive.eu/st.git
Log | Files | Refs | README | LICENSE

commit 79e5a685e2b82ace40fa8b88cc90a000dbc5cb93
parent bd14e4ceefb006297531ce95fb6d0c49a368dcac
Author: Natasha Kerensikova <natacha@instinctive.eu>
Date:   Sat, 12 Jul 2025 11:00:21 +0200

[nat] Work around missing pledge declaration

Diffstat:
Mst.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/st.c b/st.c @@ -28,6 +28,10 @@ #include <libutil.h> #endif +#if defined(__OpenBSD__) +int pledge(const char *, const char *); +#endif /* defined(__OpenBSD__) */ + /* Arbitrary sizes */ #define UTF_INVALID 0xFFFD #define UTF_SIZ 4