From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4039 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: termios.h problem (IUTF8) Date: Sun, 15 Sep 2013 16:21:11 -0400 Message-ID: <20130915202110.GF20515@brightrain.aerifal.cx> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1379276484 1053 80.91.229.3 (15 Sep 2013 20:21:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Sep 2013 20:21:24 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4043-gllmg-musl=m.gmane.org@lists.openwall.com Sun Sep 15 22:21:26 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1VLIou-0001xY-IW for gllmg-musl@plane.gmane.org; Sun, 15 Sep 2013 22:21:24 +0200 Original-Received: (qmail 9747 invoked by uid 550); 15 Sep 2013 20:21:24 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 9736 invoked from network); 15 Sep 2013 20:21:23 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:4039 Archived-At: On Sun, Sep 15, 2013 at 10:15:38PM +0200, Paul Schutte wrote: > Hi Rich, > > I am wrestling with systemd on Sabotage. I am using musl 0.9.13. > (The git version is the same regarding this problem) > > I get the following error: > > src/shared/util.c: In function 'reset_terminal_fd': > src/shared/util.c:1786:46: error: 'IUTF8' undeclared (first use in this > function) > src/shared/util.c:1786:46: note: each undeclared identifier is reported > only once for each function it appears in > > I can make it work by doing the following. (Stolen from you mips > bits/termios.h file) Yes, I think it's correct. I* is reserved for termios.h so no namespace protection is needed. However the correct value may vary per-arch. Go ahead and use this for your own use for now, and I'll either find the correct values for the other archs or get someone else to look into it so we can upstream the fix. Rich