Commit Diff
--- titan.c +++ titan.c @@ -30,6 +30,14 @@ #include <unistd.h> #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)
--- titan.c +++ titan.c @@ -30,6 +30,14 @@ #include <unistd.h> #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)