nfc: uapi: use kernel size_t to fix user-space builds
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Sun, 26 Dec 2021 12:03:47 +0000 (13:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Dec 2021 14:58:37 +0000 (14:58 +0000)
commit79b69a83705e621b258ac6d8ae6d3bfdb4b930aa
tree6e74633fa3b792deb3b9407b9ed3920dab8eeb4b
parent7175f02c4e5f5a9430113ab9ca0fd0ce98b28a51
nfc: uapi: use kernel size_t to fix user-space builds

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;
        |         ^~~~~~

Fixes: d646960f7986 ("NFC: Initial LLCP support")
Cc: <stable@vger.kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/nfc.h