commit 72c20227df7beac588de54667e120091e4734d86 from: Omar Polo date: Sun Nov 21 15:32:59 2021 UTC #define pledge on !OpenBSD I'm not really interested in making this portable: it's short and with such a narrow scope that's probably only useful to me, but provide hiding pledge on !OpenBSD takes so little that I guess I can at least do that. commit - 7b682af0ce3805d91159f313a2f1f802f7db8e37 commit + 72c20227df7beac588de54667e120091e4734d86 blob - bf3775c4b498876dfa73186e1daedaf40f129bcd blob + ad0bc9c6e1c718f7a64b42ab64f17cc4576cfb07 --- lstun.c +++ lstun.c @@ -37,6 +37,10 @@ #define MAXSOCK 4 #define MAXCONN 16 + +#ifndef __OpenBSD__ +#define pledge(p, e) 0 +#endif int rport; /* ssh port */ const char *addr; /* our addr */