commit da3fc66ee834634f99d5b94cc4090c64114a215f from: Omar Polo date: Sat Jul 22 15:50:22 2023 UTC titan: add compat shims to compile on !OpenBSD commit - 800aa93c05250a0482e1767897cb80e3b52f0d07 commit + da3fc66ee834634f99d5b94cc4090c64114a215f blob - 8ee50ff9d8d961d1ad16a9afbfdb1c391f834844 blob + 7300b94ac70ff2cd656979e030da9e3ae9c81881 --- titan.c +++ titan.c @@ -30,6 +30,14 @@ #include #include "iri.h" + +#ifndef INFTIM +#define INFTIM -1 +#endif + +#ifndef __OpenBSD__ +#define pledge(a, b) (0) +#endif static int dial(const char *hostname, const char *port)