[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] [PATCH] Fix build against musl libc
From: |
Gary E. Miller |
Subject: |
Re: [gpsd-dev] [PATCH] Fix build against musl libc |
Date: |
Tue, 23 Jun 2015 14:42:37 -0700 |
Yo Gary!
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.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
address@hidden Tel:+1(541)382-8588
pgpqL915Iqx_G.pgp
Description: OpenPGP digital signature