mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-23 11:58:09 +02:00
glibc would like to stop declaring major()/minor() macros in
<sys/types.h> because that header gets included absolutely everywhere
and unix device major/minor is perhaps usually not what's expected. Fair
enough. If one includes <sys/sysmacros.h> as well then glibc knows we
meant it and doesn't warn, so do that if it exists.
Signed-off-by: Adam Jackson <ajax@redhat.com>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| bsd | ||
| bus | ||
| hurd | ||
| linux | ||
| misc | ||
| shared | ||
| solaris | ||
| stub | ||
| int10Defines.h | ||
| Makefile.am | ||
| xf86_OSlib.h | ||
| xf86_OSproc.h | ||
| xf86OSpriv.h | ||