[PATCHES] Compile on linux with musl libc
Adam Lackorzynski
adam at os.inf.tu-dresden.de
Sat May 23 19:00:41 UTC 2015
Hi,
On Tue May 19, 2015 at 22:05:50 +0200, Felix Janda wrote:
> in order to compile on linux systems with musl libc [1] two changes to
> the source are necessary. Corresponding patches are attached.
>
> First VC_MUSIC is enabled by default on linux and in dial.c the
> necessary header are only included for glibc. (The wrong conditional
> include has likely been introduced by the 2003-03-30 GNU/Hurd patch.)
>
> Secondly, MAXNAMLEN is usually defined in <sys/param.h> but it is
> better to use the equivalent POSIX NAME_MAX.
Pushed, thanks.
Adam
--
Adam adam at os.inf.tu-dresden.de
Lackorzynski http://os.inf.tu-dresden.de/~adam/
More information about the minicom-devel
mailing list