$NetBSD: patch-ac,v 1.3 2006/03/23 00:53:48 joerg Exp $ --- pptpctrl.c.orig 2004-04-28 11:36:07.000000000 +0000 +++ pptpctrl.c @@ -32,6 +32,11 @@ #include #include #ifdef HAVE_OPENPTY +#if defined(__DragonFly__) +#include +#else +#include +#endif #ifdef HAVE_PTY_H #include #endif @@ -734,7 +739,7 @@ static void launch_pppd(char **pppaddrs, if (pptp_logwtmp) { pppd_argv[an++] = "plugin"; - pppd_argv[an++] = "/usr/lib/pptpd/pptpd-logwtmp.so"; + pppd_argv[an++] = "/usr/pkg/lib/pptpd/pptpd-logwtmp.so"; pppd_argv[an++] = "pptpd-original-ip"; pppd_argv[an++] = inet_ntoa(inetaddrs[1]); }