summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-01-24 23:25:14 +0800
committerruki <[email protected]>2024-01-24 23:25:14 +0800
commit85bfb36d4e608662b74e5c42ac9e6a9052b3451e (patch)
tree43d5078dfc4e8a4f8b5803c5457fa45e76406fd5
parent9b18792bed0ad0e2286f193122038c69952aa103 (diff)
disable ifaddrs for alpine
-rwxr-xr-xcore/src/tbox/inc/linux/tbox.config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/tbox/inc/linux/tbox.config.h b/core/src/tbox/inc/linux/tbox.config.h
index 20e49240c..fb8c99830 100755
--- a/core/src/tbox/inc/linux/tbox.config.h
+++ b/core/src/tbox/inc/linux/tbox.config.h
@@ -153,6 +153,7 @@
#define TB_CONFIG_POSIX_HAVE_GETHOSTNAME 1
// alpine does not support
/* #undef TB_CONFIG_POSIX_HAVE_GETIFADDRS */
+/* #undef TB_CONFIG_LINUX_HAVE_IFADDRS */
#define TB_CONFIG_POSIX_HAVE_SEM_INIT 1
#define TB_CONFIG_POSIX_HAVE_GETPAGESIZE 1
#define TB_CONFIG_POSIX_HAVE_SYSCONF 1