Add missing libc headers

This commit is contained in:
Alex 2023-03-20 03:18:25 +02:00
parent 56fa6343fb
commit 2e4c753dab
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD
6 changed files with 60 additions and 0 deletions

4
libc/include/ctype.h Normal file
View File

@ -0,0 +1,4 @@
#ifndef _CTYPE_H
#define _CTYPE_H
#endif // !_CTYPE_H

4
libc/include/fcntl.h Normal file
View File

@ -0,0 +1,4 @@
#ifndef _FNCTL_H
#define _FNCTL_H
#endif // !_FNCTL_H

40
libc/include/inttypes.h Normal file
View File

@ -0,0 +1,40 @@
#ifndef _INTTYPES_H
#define _INTTYPES_H
typedef __INT8_TYPE__ int8_t;
typedef __INT16_TYPE__ int16_t;
typedef __INT32_TYPE__ int32_t;
typedef __INT64_TYPE__ int64_t;
typedef __UINT8_TYPE__ uint8_t;
typedef __UINT16_TYPE__ uint16_t;
typedef __UINT32_TYPE__ uint32_t;
typedef __UINT64_TYPE__ uint64_t;
typedef __INT_LEAST8_TYPE__ int_least8_t;
typedef __INT_LEAST16_TYPE__ int_least16_t;
typedef __INT_LEAST32_TYPE__ int_least32_t;
typedef __INT_LEAST64_TYPE__ int_least64_t;
typedef __UINT_LEAST8_TYPE__ uint_least8_t;
typedef __UINT_LEAST16_TYPE__ uint_least16_t;
typedef __UINT_LEAST32_TYPE__ uint_least32_t;
typedef __UINT_LEAST64_TYPE__ uint_least64_t;
typedef __INT_FAST8_TYPE__ int_fast8_t;
typedef __INT_FAST16_TYPE__ int_fast16_t;
typedef __INT_FAST32_TYPE__ int_fast32_t;
typedef __INT_FAST64_TYPE__ int_fast64_t;
typedef __UINT_FAST8_TYPE__ uint_fast8_t;
typedef __UINT_FAST16_TYPE__ uint_fast16_t;
typedef __UINT_FAST32_TYPE__ uint_fast32_t;
typedef __UINT_FAST64_TYPE__ uint_fast64_t;
typedef __INTPTR_TYPE__ intptr_t;
typedef __UINTPTR_TYPE__ uintptr_t;
typedef __INTMAX_TYPE__ intmax_t;
typedef __UINTMAX_TYPE__ uintmax_t;
typedef __PTRDIFF_TYPE__ ptrdiff_t;
typedef __SIZE_TYPE__ size_t;
#endif // !_INTTYPES_H

4
libc/include/math.h Normal file
View File

@ -0,0 +1,4 @@
#ifndef _MATH_H
#define _MATH_H
#endif // !_MATH_H

4
libc/include/strings.h Normal file
View File

@ -0,0 +1,4 @@
#ifndef _STRINGS_H
#define _STRINGS_H
#endif // !_STRINGS_H

4
libc/include/sys/stat.h Normal file
View File

@ -0,0 +1,4 @@
#ifndef _SYS_STAT_H
#define _SYS_STAT_H
#endif