OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | From 914871b20a901e3e1e981c92bc42b1c93b7ab81b Mon Sep 17 00:00:00 2001 |
2 | From: Riku Voipio <riku.voipio@linaro.org> |
||
3 | Date: Thu, 07 Feb 2013 11:04:21 +0000 |
||
4 | Subject: fuse_kernel.h: clean includes |
||
5 | |||
6 | Use <linux/types.h> for linux and define types used for other operating systems |
||
7 | using <stdint.h> types. |
||
8 | --- |
||
9 | (limited to 'include/fuse_kernel.h') |
||
10 | |||
11 | --- a/include/fuse_kernel.h |
||
12 | +++ b/include/fuse_kernel.h |
||
13 | @@ -88,12 +88,16 @@ |
||
14 | #ifndef _LINUX_FUSE_H |
||
15 | #define _LINUX_FUSE_H |
||
16 | |||
17 | -#include <sys/types.h> |
||
18 | +#ifdef __linux__ |
||
19 | +#include <linux/types.h> |
||
20 | +#else |
||
21 | +#include <stdint.h> |
||
22 | #define __u64 uint64_t |
||
23 | #define __s64 int64_t |
||
24 | #define __u32 uint32_t |
||
25 | #define __s32 int32_t |
||
26 | #define __u16 uint16_t |
||
27 | +#endif |
||
28 | |||
29 | /* |
||
30 | * Version negotiation: |