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
Notes:
sideshowbarker
2024-07-18 04:23:12 +09:00
Author: https://github.com/rtobar Commit: https://github.com/SerenityOS/serenity/commit/a0ac5c5fc22 Pull-request: https://github.com/SerenityOS/serenity/pull/9906
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
Reference in a new issue