Fix kppp FTBFS under armel

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1259480 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent 5a599bd048
commit e980b1bc6f

@ -30,6 +30,9 @@ AC_TRY_LINK([
#ifndef STREAMS
#if defined(linux)
#ifndef aligned_u64
#define aligned_u64 unsigned long long __attribute__((aligned(8)))
#endif
#include <linux/if_ppp.h>
#elif defined(__DragonFly__)
#include <net/ppp/if_ppp.h>

@ -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>

@ -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

Loading…
Cancel
Save