[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] [PATCH] Fix build against musl libc
From: |
Baruch Siach |
Subject: |
Re: [gpsd-dev] [PATCH] Fix build against musl libc |
Date: |
Wed, 24 Jun 2015 01:39:29 +0300 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Hi Gary,
On Tue, Jun 23, 2015 at 02:42:37PM -0700, Gary E. Miller wrote:
> On Tue, 23 Jun 2015 10:48:38 -0700
> "Gary E. Miller" <address@hidden> wrote:
>
> > On Tue, 23 Jun 2015 09:12:01 +0300
> > Baruch Siach <address@hidden> wrote:
> >
> > > musl does not include sys/ttydefaults.h from sys/termios.h. Include
> > > it explicitly.
>
> I took a simpler approach rather than going down the rabbit hole of
> trying to test for when sys/ttydefaults.h is needed. Only gpsmon needed
> sys/ttydefaults.h and only for a BSD-ism: CTRL(). I just removed the
> need for CTRL() and pushed the new code to git.
>
> That should solve your problem as well as removing an anacronism.
>
> Give it a shot and let us know how it worked.
That fixed the problem for me.
Thanks,
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- address@hidden - tel: +972.2.679.5364, http://www.tkos.co.il -