diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2015-05-15 16:37:20 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-06-16 15:54:22 +0200 |
commit | b5733c1916c77ec7002fa1a5a1a4588058ff336a (patch) | |
tree | 657fbb4caab9c745f70a9ead11eb995f33e34bb7 | |
parent | 1d6eac884ea325bb1dae29f374f19131e1f228a8 (diff) |
ppp-manager: fix build with Linux 3.2.0 headers
Fixes build with Ubuntu 12.04.
In file included from ppp-manager/nm-ppp-manager.c:42:0:
/usr/include/linux/if_ppp.h:103:16: error: field 'b' has incomplete type
/usr/include/linux/if_ppp.h:108:21: error: field 'b' has incomplete type
(cherry picked from commit 22b99e3bbb2ca33963e839f12ab95314ab8d9ba9)
-rw-r--r-- | src/ppp-manager/nm-ppp-manager.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ppp-manager/nm-ppp-manager.c b/src/ppp-manager/nm-ppp-manager.c index 65993deb2a..a7c42ad359 100644 --- a/src/ppp-manager/nm-ppp-manager.c +++ b/src/ppp-manager/nm-ppp-manager.c @@ -39,6 +39,7 @@ #ifndef aligned_u64 #define aligned_u64 unsigned long long __attribute__((aligned(8))) #endif +#include <linux/if.h> #include <linux/if_ppp.h> #include "NetworkManagerUtils.h" |