asm-generic: unistd.h: fixup broken macro include.
authorGuo Ren <ren_guo@c-sky.com>
Thu, 6 Dec 2018 02:07:40 +0000 (10:07 +0800)
committerArnd Bergmann <arnd@arndb.de>
Thu, 6 Dec 2018 15:57:47 +0000 (16:57 +0100)
commitb7d624ab431227af376787148cd7d474088c03aa
tree8a95d7c335c56ba87c0b4028663e0f69b2949256
parent2e6e902d185027f8e3cb8b7305238f7e35d6a436
asm-generic: unistd.h: fixup broken macro include.

The broken macros make the glibc compile error. If there is no
__NR3264_fstat*, we should also removed related definitions.

Reported-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Fixes: bf4b6a7d371e ("y2038: Remove stat64 family from default syscall set")
[arnd: Both Marcin and Guo provided this patch to fix up my clearly
       broken commit, I applied the version with the better changelog.]
Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Signed-off-by: Mao Han <han_mao@c-sky.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
include/uapi/asm-generic/unistd.h