diff options
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/if.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/if.h b/include/uapi/linux/if.h index e601c8c3bdc7..1158a043342a 100644 --- a/include/uapi/linux/if.h +++ b/include/uapi/linux/if.h | |||
| @@ -31,7 +31,7 @@ | |||
| 31 | #include <linux/hdlc/ioctl.h> | 31 | #include <linux/hdlc/ioctl.h> |
| 32 | 32 | ||
| 33 | /* For glibc compatibility. An empty enum does not compile. */ | 33 | /* For glibc compatibility. An empty enum does not compile. */ |
| 34 | #if __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO != 0 && \ | 34 | #if __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO != 0 || \ |
| 35 | __UAPI_DEF_IF_NET_DEVICE_FLAGS != 0 | 35 | __UAPI_DEF_IF_NET_DEVICE_FLAGS != 0 |
| 36 | /** | 36 | /** |
| 37 | * enum net_device_flags - &struct net_device flags | 37 | * enum net_device_flags - &struct net_device flags |
| @@ -99,7 +99,7 @@ enum net_device_flags { | |||
| 99 | IFF_ECHO = 1<<18, /* volatile */ | 99 | IFF_ECHO = 1<<18, /* volatile */ |
| 100 | #endif /* __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO */ | 100 | #endif /* __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO */ |
| 101 | }; | 101 | }; |
| 102 | #endif /* __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO != 0 && __UAPI_DEF_IF_NET_DEVICE_FLAGS != 0 */ | 102 | #endif /* __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO != 0 || __UAPI_DEF_IF_NET_DEVICE_FLAGS != 0 */ |
| 103 | 103 | ||
| 104 | /* for compatibility with glibc net/if.h */ | 104 | /* for compatibility with glibc net/if.h */ |
| 105 | #if __UAPI_DEF_IF_NET_DEVICE_FLAGS | 105 | #if __UAPI_DEF_IF_NET_DEVICE_FLAGS |
