mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-03 11:29:17 +00:00
feat(userspace/libc): support for linux target
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user