Skip to content
Commit c5320244 authored by Adam Jackson's avatar Adam Jackson
Browse files

xfree86: Silence a new glibc warning



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: default avatarAdam Jackson <ajax@redhat.com>
(cherry picked from commit d732c365)
parent 0e79797e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment