https://bugs.freedesktop.org/show_bug.cgi?id=90147
Jon TURNEY <jon.tur...@dronecode.org.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jon.tur...@dronecode.org.uk --- Comment #9 from Jon TURNEY <jon.tur...@dronecode.org.uk> --- Created attachment 115698 --> https://bugs.freedesktop.org/attachment.cgi?id=115698&action=edit Fix compilation when sys/sysctl.h is not present Unfortunately, this patch unconditionally includes sys/sysctl.h, which breaks compilation for me (see http://tinderbox.x.org/builds/2015-05-07-0008/logs/mesa-mesa/#build) I can't find any evidence that sys/sysctl.h is required by POSIX. Attached is an attempt to fix this. Additionally, I'm not sure if any platform exists which has both interfaces, but preferring sysctl() to sysconf() as this patch does, would mean on any such platforms a different path would be used to that previously. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev