OSDN Git Service

Fix headers inclusion in xf86drmMode.c
authorJulien Cristau <jcristau@debian.org>
Mon, 6 Jul 2015 11:45:31 +0000 (12:45 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 11 Jul 2015 20:21:07 +0000 (21:21 +0100)
commitfc8c3e23fb990efd620ef9d9bf3b91686aecc934
treead2dbbea3fb41324c7911e7d0cd317c43c2108ac
parent5ba34e1aeed3c343bc9b53727220449d244b3296
Fix headers inclusion in xf86drmMode.c

Add sys/sysctl.h to get sysctlbyname declaration on kFreeBSD

Updated by Thorsten “mirabilos” Glaser <t.glaser@tarent.de>
to add autoconf check and only include <sys/sysctl.h> if it
is detected by configure as it’s unusable on Linux/x32 (and
others, e.g. other new architectures).

Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
configure.ac
xf86drmMode.c