summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/jffs2/include/linux/types.h
blob: a85b85647d1ed409750c13bb994933907b0aca64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef __LINUX_TYPES_H__
#define __LINUX_TYPES_H__

#include <sys/types.h>
#include <stdint.h>

#define loff_t off_t

typedef uint8_t u8;
typedef uint16_t u16;
typedef uint32_t u32;

typedef uint8_t __u8;
typedef uint16_t __u16;
typedef uint32_t __u32;

#define kvec iovec

struct qstr {
	const char *name;
	size_t len;
};

#endif /* __LINUX_TYPES_H__ */