Skip to content

Commit

Permalink
fuse: fix type definitions in uapi header
Browse files Browse the repository at this point in the history
Commit 7e98d53 (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>
  • Loading branch information
Miklos Szeredi committed Apr 17, 2013
1 parent 41ef2d5 commit 4c82456
Showing 1 changed file with 216 additions and 220 deletions.
Loading

0 comments on commit 4c82456

Please sign in to comment.