--- subprojects/d2tk/src/base_pty.c.orig 1970-01-01 00:00:00 UTC +++ subprojects/d2tk/src/base_pty.c @@ -9,14 +9,26 @@ #include #include #include +#ifdef __FreeBSD__ +#include +#include +#include +#else #include -#include +#endif +//#include #include #include #include #include #include #include + +#ifdef __FreeBSD__ +extern char **environ; + +#define execvpe(a, b, c) execvp(a, b) +#endif #include "base_internal.h"