mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +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
|
@ -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…
Reference in a new issue