diff -U 2 -r vtun.orig/config.h.in vtun/config.h.in --- vtun.orig/config.h.in 2008-01-04 19:23:05 +0200 +++ vtun/config.h.in 2008-01-04 19:34:20 +0200 @@ -65,4 +65,10 @@ #undef HAVE_SHAPER +/* define if you have Unix98 pseudoterminals */ +#undef HAVE_GETPT +#undef HAVE_GRANTPT +#undef HAVE_UNLOCKPT +#undef HAVE_PTSNAME + /* Release version and date */ #undef VTUN_VER diff -U 2 -r vtun.orig/generic/pty_dev.c vtun/generic/pty_dev.c --- vtun.orig/generic/pty_dev.c 2008-01-04 19:23:05 +0200 +++ vtun/generic/pty_dev.c 2008-01-04 19:44:19 +0200 @@ -25,8 +25,10 @@ #include #include -#include #include #include #include +#define __USE_XOPEN +#define __USE_GNU +#include #include "vtun.h"