From e980b1bc6fedd2e6bfbe6b7b99c466acc6281afe Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 18 Oct 2011 17:20:56 +0000 Subject: Fix kppp FTBFS under armel git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1259480 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kppp/pppstats.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'kppp/pppstats.cpp') diff --git a/kppp/pppstats.cpp b/kppp/pppstats.cpp index d4b3007e..fb4d6428 100644 --- a/kppp/pppstats.cpp +++ b/kppp/pppstats.cpp @@ -71,7 +71,13 @@ #endif #include /* *BSD, Linux, NeXT, Ultrix etc. */ #ifndef HAVE_NET_IF_PPP_H - #if defined(__DragonFly__) + #ifdef HAVE_LINUX_IF_PPP_H + #include + #ifndef aligned_u64 + #define aligned_u64 unsigned long long __attribute__((aligned(8))) + #endif + #include + #elif defined(__DragonFly__) #include #include #endif -- cgit v1.2.1