[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdenetwork/kppp
From: Hasso Tepper <hasso () kde ! org>
Date: 2008-01-21 10:42:35
Message-ID: 1200912155.679602.20815.nullmailer () svn ! kde ! org
[Download RAW message or body]
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 <unistd.h>
#include <arpa/inet.h>
+#ifdef __DragonFly__
+#include <net/ppp_layer/ppp_defs.h>
+#else
#include <net/ppp_defs.h>
+#endif
#include <netinet/in.h>
#ifdef __svr4__
@@ -27,6 +31,8 @@
#if defined(linux)
#include <linux/if_ppp.h>
+ #elif defined(__DragonFly__)
+ #include <net/ppp/if_ppp.h>
#else
#include <net/if_ppp.h> /* 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 <net/ppp_layer/ppp_defs.h>
+# include <net/if.h>
+# include <net/ppp/if_ppp.h>
+# elif defined HAVE_LINUX_IF_PPP_H
# include <linux/if_ppp.h>
# endif
#else
--- branches/KDE/3.5/kdenetwork/kppp/pppstats.cpp #764275:764276
@@ -54,7 +54,11 @@
#include <arpa/inet.h>
#include <unistd.h>
#include <netinet/in.h>
+#ifdef __DragonFly__
+#include <net/ppp_layer/ppp_defs.h>
+#else
#include <net/ppp_defs.h>
+#endif
#include "config.h"
#include "pppstats.h"
@@ -70,6 +74,9 @@
#ifdef HAVE_LINUX_IF_PPP_H
#include <linux/if.h>
#include <linux/if_ppp.h>
+ #elif defined(__DragonFly__)
+ #include <net/if.h>
+ #include <net/ppp/if_ppp.h>
#endif
#else
#include <net/if.h>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic