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
commit 9882848e0b
Notes: sideshowbarker 2024-07-17 17:17:36 +09:00

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,