feat: ports - netsurf with the monkey frontend
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018Ae69wJS7sueQMUwNxV3nX
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* Minimal <netinet/in.h> for the MontaukOS NetSurf port.
|
||||
* Only the address structures urldb.c and utils.c use for IP-literal parsing.
|
||||
*/
|
||||
#ifndef _MONTAUK_COMPAT_NETINET_IN_H_
|
||||
#define _MONTAUK_COMPAT_NETINET_IN_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
struct in_addr {
|
||||
uint32_t s_addr;
|
||||
};
|
||||
|
||||
struct in6_addr {
|
||||
uint8_t s6_addr[16];
|
||||
};
|
||||
|
||||
#define INET_ADDRSTRLEN 16
|
||||
#define INET6_ADDRSTRLEN 46
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user