mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:38:12 +00:00
Kernel: Define INADDR_BROADCAST constant
This is required by some programs, notably python's socket module, which fails to compile without this definition.
This commit is contained in:
parent
ec03f29fd1
commit
a0ac5c5fc2
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ typedef uint32_t in_addr_t;
|
|||
#define INADDR_ANY ((in_addr_t)0)
|
||||
#define INADDR_NONE ((in_addr_t)-1)
|
||||
#define INADDR_LOOPBACK 0x7f000001
|
||||
#define INADDR_BROADCAST 0xffffffff
|
||||
|
||||
#define IN_LOOPBACKNET 127
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue