summaryrefslogtreecommitdiffstats
path: root/kppp/opener.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-18 17:20:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-18 17:20:56 +0000
commite980b1bc6fedd2e6bfbe6b7b99c466acc6281afe (patch)
tree73822f8cf96d6c0de5421cdf5cab9d2fca5f959b /kppp/opener.cpp
parent5a599bd048a61188c5514e423fd344147a09158c (diff)
downloadtdenetwork-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/opener.cpp')
-rw-r--r--kppp/opener.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/kppp/opener.cpp b/kppp/opener.cpp
index 2d88ef88..0d46edd9 100644
--- a/kppp/opener.cpp
+++ b/kppp/opener.cpp
@@ -72,6 +72,11 @@ extern "C" int _Precvmsg(int, void*, int);
# include <net/ppp_layer/ppp_defs.h>
# include <net/if.h>
# include <net/ppp/if_ppp.h>
+# elif defined HAVE_LINUX_IF_PPP_H
+# ifndef aligned_u64
+# define aligned_u64 unsigned long long __attribute__((aligned(8)))
+# endif
+# include <linux/if_ppp.h>
# endif
#else
# include <net/ppp_defs.h>