From kde-commits Mon Jan 21 10:42:35 2008 From: Hasso Tepper Date: Mon, 21 Jan 2008 10:42:35 +0000 To: kde-commits Subject: branches/KDE/3.5/kdenetwork/kppp Message-Id: <1200912155.679602.20815.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=120091217212776 SVN commit 764276 by hasso: Backport rev 764273: Make kppp compile in DragonFly BSD. M +6 -0 configure.in.in M +5 -1 opener.cpp M +7 -0 pppstats.cpp --- branches/KDE/3.5/kdenetwork/kppp/configure.in.in #764275:764276 @@ -11,7 +11,11 @@ #endif #include #include +#ifdef __DragonFly__ +#include +#else #include +#endif #include #ifdef __svr4__ @@ -27,6 +31,8 @@ #if defined(linux) #include + #elif defined(__DragonFly__) + #include #else #include /* BSD, NeXT, etc. */ #endif --- branches/KDE/3.5/kdenetwork/kppp/opener.cpp #764275:764276 @@ -68,7 +68,11 @@ #endif #ifndef HAVE_NET_IF_PPP_H -# ifdef HAVE_LINUX_IF_PPP_H +# if defined(__DragonFly__) +# include +# include +# include +# elif defined HAVE_LINUX_IF_PPP_H # include # endif #else --- branches/KDE/3.5/kdenetwork/kppp/pppstats.cpp #764275:764276 @@ -54,7 +54,11 @@ #include #include #include +#ifdef __DragonFly__ +#include +#else #include +#endif #include "config.h" #include "pppstats.h" @@ -70,6 +74,9 @@ #ifdef HAVE_LINUX_IF_PPP_H #include #include + #elif defined(__DragonFly__) + #include + #include #endif #else #include