]> www.infradead.org Git - users/hch/nvme-cli.git/commit
Include endian.h for byte/host order functions
authorNatanael Copa <ncopa@alpinelinux.org>
Mon, 26 Dec 2016 22:12:58 +0000 (23:12 +0100)
committerNatanael Copa <ncopa@alpinelinux.org>
Mon, 26 Dec 2016 22:14:40 +0000 (23:14 +0100)
commit329df07e86c27308a3c3fee9054390bc0271e8b8
treedef4d25e24871a630a418ad0408acae2fbff19c2
parentd15673ce8d2f909dad160c4501aba0eab94b938e
Include endian.h for byte/host order functions

Fix the following error when building with musl libc:

nvme.h:136:2: error: implicit declaration of function 'le16toh'
[-Werror=implicit-function-declaration]
  le16toh((__force __u16)(x))
  ^

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
nvme.h