Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 13 Dec 2012 18:25:11 +0100
From: John Spencer <>
Subject: Re: libedit build, missing sys/ttydefaults.h & sys/errno.h

On 12/13/2012 11:29 AM, ojab wrote:
> Hi list,
> libedit-3.0 build fails with
>> editline/readline.h:79:29: fatal error: sys/ttydefaults.h: No such 
>> file or directory
>> fileman.c:14:23: fatal error: sys/errno.h: No such file or directory
> After adding sys/ttydefaults.h from NetBSD [1] (cleaned up version in 
> the attached file) and replacing <sys/errno.h> with <errno.h> it 
> builds/works fine.
> As far as I can see the same issues was reported about sysvinit [2].
> Can sys/ttydefaults.h be added to musl? Will <sys/errno.h> alias be 
> added to musl? Or I should report issue to libedit developer instead?
> [1] 
> [2]
> //wbr ojab

at least the #ifdef KERNEL part is bogus.

btw, it seems the line that includes sys/ttydefaults.h is not needed to 
build libedit 3.0.
in sabotage, the include line is simply removed and that works:

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.