summaryrefslogtreecommitdiff
path: root/networking/nameif.c
diff options
context:
space:
mode:
authorSamuel Thibault2022-10-16 02:04:59 +0200
committerDenys Vlasenko2022-11-29 14:10:22 +0100
commit77216c368f3ae65c3a9fc504d28d3fadd46d6d8d (patch)
tree8f4bf1ca9cd3aea68214bc93ab5a586401979f47 /networking/nameif.c
parent75fbff1326674b768cee66f32e3799d5bff5e194 (diff)
downloadbusybox-77216c368f3ae65c3a9fc504d28d3fadd46d6d8d.zip
busybox-77216c368f3ae65c3a9fc504d28d3fadd46d6d8d.tar.gz
Fix non-Linux builds
Various tools are Linuxish and should thus only attempted to build on Linux only. Some features are also Linux-only. Also, libresolv is used on all GNU platforms, notably GNU/Hurd and GNU/kfreeBSD. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/nameif.c')
-rw-r--r--networking/nameif.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/networking/nameif.c b/networking/nameif.c
index 66e0426..3ccd935 100644
--- a/networking/nameif.c
+++ b/networking/nameif.c
@@ -12,6 +12,7 @@
//config:config NAMEIF
//config: bool "nameif (6.6 kb)"
//config: default y
+//config: select PLATFORM_LINUX
//config: select FEATURE_SYSLOG
//config: help
//config: nameif is used to rename network interface by its MAC address.