Commit Diff
- Commit:
72c20227df7beac588de54667e120091e4734d86
- From:
- Omar Polo <op@omarpolo.com>
- Date:
- Message:
- #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.
- Actions:
- Patch | Tree
--- 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 */