summaryrefslogtreecommitdiff
path: root/include/libc-shim/bits/alltypes.h
blob: cf21a5e6c9c6e818a98cf5124261ed3ff0f1ad32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Shim: provide types musl string functions need */
#ifndef _BITS_ALLTYPES_H
#define _BITS_ALLTYPES_H

#ifndef __cplusplus
typedef unsigned long size_t;
#endif

typedef long ssize_t;
typedef unsigned long uintptr_t;

/* locale_t stub — unused in kernel, but declared by some headers */
typedef void *locale_t;

#endif