Fix below build error:
/opt/test/buildroot/buildroot/output/host/usr/bin/arm-buildroot-uclinux-uclibcgnueabi-gcc inetd.o servtab.o builtins.o sig.o daemon.o setproctitle.o mysleep.o -o inetd
servtab.o: In function `loadconfigfile.clone.0':
servtab.c:(.text+0x98c): warning: gethostbyname is obsolescent, use getnameinfo() instead.
inetd.o: In function `main':
inetd.c:(.text+0x8a4): undefined reference to `fork'
inetd.c:(.text+0x974): undefined reference to `fork'
daemon.o: In function `daemon':
daemon.c:(.text+0xc): undefined reference to `fork'
collect2: ld returned 1 exit status
make[2]: *** [inetd] Error 1
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
config BR2_PACKAGE_NETKITBASE
bool "netkitbase"
depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
+ depends on BR2_USE_MMU # fork()
depends on BR2_DEPRECATED
help
Old-style inetd.