Kernel: Define IF_NAMESIZE in net/if.h

This makes the _socket module from the Python port build. :^)
This commit is contained in:
Linus Groh 2022-03-16 18:01:26 +00:00
parent 910fded482
commit 9882848e0b

View file

@ -13,6 +13,8 @@ extern "C" {
#include <Kernel/API/POSIX/sys/socket.h>
#include <Kernel/API/POSIX/sys/types.h>
#define IF_NAMESIZE 16
enum {
IFF_UP = 1 << 0,
IFF_BROADCAST = 1 << 1,