--- plugins/r/src/tm_r.c.orig 2014-03-03 11:44:12 UTC +++ plugins/r/src/tm_r.c @@ -11,19 +11,22 @@ #define TEXMACS_R_VERSION "0.15" #include +#include #include +#ifdef __FreeBSD__ +#include +#else #if HAVE_PTY_H #include #endif +#endif -#include #include #include #include #include #include -#include #include #include #include