From: Miklos Szeredi Date: Wed, 17 Apr 2013 10:30:40 +0000 (+0200) Subject: fuse: fix type definitions in uapi header X-Git-Tag: v3.9-rc8~10^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c82456eeb4da081dd63dc69e91aa6deabd29e03;p=pandora-kernel.git 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 Reported-by: Colin Cross Signed-off-by: Miklos Szeredi --- Reading git-diff-tree failed