diff options
author | Ian Moffett <ian@osmora.org> | 2024-03-07 17:28:52 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-03-07 18:24:51 -0500 |
commit | f5e48e94a2f4d4bbd6e5628c7f2afafc6dbcc459 (patch) | |
tree | 93b156621dc0303816b37f60ba88051b702d92f6 /lib/mlibc/options/linux/include/ifaddrs.h | |
parent | bd5969fc876a10b18613302db7087ef3c40f18e1 (diff) |
build: Build mlibc + add distclean target
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/mlibc/options/linux/include/ifaddrs.h')
-rw-r--r-- | lib/mlibc/options/linux/include/ifaddrs.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/lib/mlibc/options/linux/include/ifaddrs.h b/lib/mlibc/options/linux/include/ifaddrs.h deleted file mode 100644 index 2604e3e..0000000 --- a/lib/mlibc/options/linux/include/ifaddrs.h +++ /dev/null @@ -1,35 +0,0 @@ - -#ifndef _IFADDRS_H -#define _IFADDRS_H - -#ifdef __cplusplus -extern "C" { -#endif - -#include <netinet/in.h> -#include <sys/socket.h> - -// Struct definitions taken from musl -struct ifaddrs { - struct ifaddrs *ifa_next; - char *ifa_name; - unsigned ifa_flags; - struct sockaddr *ifa_addr; - struct sockaddr *ifa_netmask; - struct sockaddr *ifa_broadaddr; - struct sockaddr *ifa_dstaddr; - void *ifa_data; -}; - -#ifndef __MLIBC_ABI_ONLY - -int getifaddrs(struct ifaddrs **); -void freeifaddrs(struct ifaddrs *); - -#endif /* !__MLIBC_ABI_ONLY */ - -#ifdef __cplusplus -} -#endif - -#endif // _IFADDRS_H |