From 9c6cd9c2e8a2269a9c9ef1c78af02501e5fd46d3 Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Thu, 28 May 2009 16:46:40 -0300 Subject: ethtool: Older kernels don't have IFF_DYNAMIC Signed-off-by: Arnaldo Carvalho de Melo --- python-ethtool/ethtool.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'python-ethtool') diff --git a/python-ethtool/ethtool.c b/python-ethtool/ethtool.c index f9788ac..a8c0366 100644 --- a/python-ethtool/ethtool.c +++ b/python-ethtool/ethtool.c @@ -26,6 +26,10 @@ #include #include +#ifndef IFF_DYNAMIC +#define IFF_DYNAMIC 0x8000 /* dialup device with changing addresses*/ +#endif + typedef unsigned long long u64; typedef __uint32_t u32; typedef __uint16_t u16; -- cgit