mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:37:43 +00:00
Kernel: Define IF_NAMESIZE in net/if.h
This makes the _socket module from the Python port build. :^)
This commit is contained in:
parent
910fded482
commit
9882848e0b
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,8 @@ extern "C" {
|
||||||
#include <Kernel/API/POSIX/sys/socket.h>
|
#include <Kernel/API/POSIX/sys/socket.h>
|
||||||
#include <Kernel/API/POSIX/sys/types.h>
|
#include <Kernel/API/POSIX/sys/types.h>
|
||||||
|
|
||||||
|
#define IF_NAMESIZE 16
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
IFF_UP = 1 << 0,
|
IFF_UP = 1 << 0,
|
||||||
IFF_BROADCAST = 1 << 1,
|
IFF_BROADCAST = 1 << 1,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue