diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2015-05-15 16:37:20 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2015-06-02 12:30:03 +0200 |
commit | 22b99e3bbb2ca33963e839f12ab95314ab8d9ba9 (patch) | |
tree | 3b038987474ee6d3f9223eef4b981afc59fbb9b1 | |
parent | eb2b8c2798bf50392b7cdd0ed203749742408bfa (diff) | |
download | NetworkManager-22b99e3bbb2ca33963e839f12ab95314ab8d9ba9.tar.gz |
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
-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 e27c82b70c..d410ebfab9 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" |