diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-10-18 17:20:56 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-10-18 17:20:56 +0000 |
commit | e980b1bc6fedd2e6bfbe6b7b99c466acc6281afe (patch) | |
tree | 73822f8cf96d6c0de5421cdf5cab9d2fca5f959b /kppp/pppstats.cpp | |
parent | 5a599bd048a61188c5514e423fd344147a09158c (diff) | |
download | tdenetwork-e980b1bc6fedd2e6bfbe6b7b99c466acc6281afe.tar.gz tdenetwork-e980b1bc6fedd2e6bfbe6b7b99c466acc6281afe.zip |
Fix kppp FTBFS under armel
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1259480 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kppp/pppstats.cpp')
-rw-r--r-- | kppp/pppstats.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
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 <sys/socket.h> /* *BSD, Linux, NeXT, Ultrix etc. */ #ifndef HAVE_NET_IF_PPP_H - #if defined(__DragonFly__) + #ifdef HAVE_LINUX_IF_PPP_H + #include <linux/if.h> + #ifndef aligned_u64 + #define aligned_u64 unsigned long long __attribute__((aligned(8))) + #endif + #include <linux/if_ppp.h> + #elif defined(__DragonFly__) #include <net/if.h> #include <net/ppp/if_ppp.h> #endif |