hush/include
Kylie McClain 40eea690c7 Fix compiling with musl's utmp stubs
This patch fixes compiling busybox with FEATURE_UTMP and _WTMP enabled.
musl, while not really support utmp/wtmp, provides stub functions, as well
as variables such as _PATH_UTMP, so that programs using utmp or wtmp can
still compile fine.

My reasoning for this patch is that on Exherbo, I'm currently trying to get
us to be able to use the same busybox config file for both glibc and musl
systems, using utmp/wtmp on systems that support it, and using the stubs
on musl without needing two different configs.

As of latest musl git, it provides all utmp functions needed; 1.1.12 doesn't,
but I sent a patch to Rich to add the utmp{,x}name functions expected to
exist, which was merged into musl upstream.

Signed-off-by: Kylie McClain <somasissounds@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2016-02-01 01:36:05 +01:00
..
.gitignore
applet_metadata.h
applets.src.h setarch: add support for '-R' (disable randomization) 2015-10-19 23:26:50 +02:00
ar.h
bb_archive.h tar: add support for --strip-components=N 2015-10-22 01:07:13 +02:00
bb_e2fs_defs.h
busybox.h
dump.h
fix_u32.h
grp_.h
inet_common.h
libbb.h Fix compiling with musl's utmp stubs 2016-02-01 01:36:05 +01:00
liblzo_interface.h
platform.h include/platform.h: Remove extra #endif introduced in 6df9612. 2015-12-17 15:54:04 -05:00
pwd_.h libpwdgrp: use getpwent() instead of getpwent_r() 2015-02-07 21:21:02 +01:00
rtc_.h
shadow_.h
unicode.h
usage.src.h
volume_id.h
xatonum.h
xregex.h