feat(userspace/libc): support for linux target

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
2025-03-17 23:18:54 +00:00
parent 8258d40115
commit 7e69b8f82a
27 changed files with 1379 additions and 48 deletions

View File

@ -15,8 +15,8 @@
along with Fennix C Library. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef __BITS_SIGNAL_H
#define __BITS_SIGNAL_H
#ifndef _BITS_SIGNAL_H
#define _BITS_SIGNAL_H
#include <bits/syscalls.h>
@ -121,4 +121,4 @@
typedef unsigned long sigset_t;
#endif // __BITS_SIGNAL_H
#endif // _BITS_SIGNAL_H

View File

@ -15,8 +15,8 @@
along with Fennix C Library. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef __BITS_SOCKET_H
#define __BITS_SOCKET_H
#ifndef _BITS_SOCKET_H
#define _BITS_SOCKET_H
#define __socklen_t_defined
typedef __UINT32_TYPE__ socklen_t;
@ -31,4 +31,4 @@ struct sockaddr
char sa_data[14];
};
#endif // __BITS_SOCKET_H
#endif // _BITS_SOCKET_H