feat(sockutls): Declare socketpair and gai_strerror via standard headers

Adding a reverse dependency to lwip and define macros, which
enable declarations of socketpair() and gai_strerror() in standard
heders (sys/socket.h and netdb.h)
This commit is contained in:
David Cermak committed 2024-12-19 10:54:56 +01:00
1 parent e12ecb8e89
commit b090a3cb69
3 files changed
+29 -9

No files matched your search

@@ -32,3 +32,10 @@
#ifndef AF_UNIX
#define AF_UNIX 1
#endif
#ifndef PF_LOCAL
/*
* In POSIX, AF_UNIX and PF_LOCAL are essentially synonymous.
*/
#define PF_LOCAL AF_UNIX
#endif