uapi: update headers to import asm-generic/sockios.h
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>
This commit is contained in:
parent
0812dc7025
commit
afa588490b
|
|
@ -39,12 +39,8 @@
|
|||
|
||||
#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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue