summaryrefslogtreecommitdiffstats
path: root/fs/fuse/cuse.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2013-04-17 12:30:40 +0200
committerMiklos Szeredi <mszeredi@suse.cz>2013-04-17 12:30:40 +0200
commit4c82456eeb4da081dd63dc69e91aa6deabd29e03 (patch)
treea78b3e6d31e55633ebb4b4025bcdc692ad6f9cea /fs/fuse/cuse.c
parentLinux 3.9-rc7 (diff)
downloadlinux-4c82456eeb4da081dd63dc69e91aa6deabd29e03.tar.xz
linux-4c82456eeb4da081dd63dc69e91aa6deabd29e03.zip
fuse: fix type definitions in uapi header
Commit 7e98d53086d18c877cb44e9065219335184024de (Synchronize fuse header with one used in library) added #ifdef __linux__ around defines if it is not set. The kernel build is self-contained and can be built on non-Linux toolchains. After the mentioned commit builds on non-Linux toolchains will try to include stdint.h and fail due to -nostdinc, and then fail with a bunch of undefined type errors. Fix by checking for __KERNEL__ instead of __linux__ and using the standard int types instead of the linux specific ones. Reported-by: Arve Hjønnevåg <arve@android.com> Reported-by: Colin Cross <ccross@android.com> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs/fuse/cuse.c')
0 files changed, 0 insertions, 0 deletions