Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 29 Jan 2020 13:50:12 +0100
From: Petr Vorel <>
Subject: MUSL not including <sys/ttydefaults.h> in <sys/ioctl.h>


Glibc is including <sys/ttydefaults.h> in <sys/ioctl.h> with following comment:

/* On a Unix system, the system <sys/ioctl.h> probably defines some of
   the symbols we define in <sys/ttydefaults.h> (usually with the same
   values).  The code to generate <bits/ioctls.h> has omitted these
   symbols to avoid the conflict, but a Unix program expects <sys/ioctl.h>
   to define them, so we must include <sys/ttydefaults.h> here.  */

I guess glibc is (as usual) wrong and therefore users who needs these
definitions should load also <sys/ttydefaults.h> explicitly.

Kind regards,

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.