mailing list of musl libc
 help / color / mirror / code / Atom feed
* termios.h problem (IUTF8)
@ 2013-09-15 20:15 Paul Schutte
  2013-09-15 20:21 ` Rich Felker
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Schutte @ 2013-09-15 20:15 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 867 bytes --]

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)

 --- include/bits/termios.h      2013-08-30 21:30:53.000000000 +0000
+++ /usr/include/bits/termios.h 2013-09-15 20:04:47.082909059 +0000
@@ -42,6 +42,7 @@
 #define IXANY   0004000
 #define IXOFF   0010000
 #define IMAXBEL 0020000
+#define IUTF8   0040000

 #define OPOST  0000001
 #define OLCUC  0000002



Can you please have a look whether this is correct ?

Regards
Paul

[-- Attachment #2: Type: text/html, Size: 1093 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-09-15 21:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-15 20:15 termios.h problem (IUTF8) Paul Schutte
2013-09-15 20:21 ` Rich Felker
2013-09-15 21:01   ` Paul Schutte

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).