import asm-generic/sockios.h to fix the compile errors from the
movement of timestamp macros.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
#if __BITS_PER_LONG == 64 || (defined(__x86_64__) && defined(__ILP32__))
/* on 64-bit and x32, avoid the ?: operator */
-#ifndef SIOCGSTAMP
#define SIOCGSTAMP SIOCGSTAMP_OLD
-#endif
-#ifndef SIOCGSTAMPNS
#define SIOCGSTAMPNS SIOCGSTAMPNS_OLD
-#endif
#else
#define SIOCGSTAMP ((sizeof(struct timeval)) == 8 ? \
SIOCGSTAMP_OLD : SIOCGSTAMP_NEW)