Fix user-space builds if it includes /usr/include/linux/nfc.h before some of other headers: /usr/include/linux/nfc.h:281:9: error: unknown type name ‘size_t’ 281 | size_t service_name_len; | ^~~~~~
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -278,7 +278,7 @@ struct sockaddr_nfc_llcp { · 277 unmodified lines | |||
| 278 | __u8 dsap; /* Destination SAP, if known */ | 278 | __u8 dsap; /* Destination SAP, if known */ |
| 279 | __u8 ssap; /* Source SAP to be bound to */ | 279 | __u8 ssap; /* Source SAP to be bound to */ |
| 280 | char service_name[NFC_LLCP_MAX_SERVICE_NAME]; /* Service name URI */; | 280 | char service_name[NFC_LLCP_MAX_SERVICE_NAME]; /* Service name URI */; |
| 281 | size_t service_name_len; | 281 | __kernel_size_t service_name_len; |
| 282 | }; | 282 | }; |
| 283 | 283 | ||
| 284 | /* NFC socket protocols */ | 284 | /* NFC socket protocols */ |