[PATCH] xdm: Add headers for implicitly declared function
Alan Coopersmith
alan.coopersmith at oracle.com
Mon Jul 25 22:46:38 UTC 2016
On 07/24/16 07:52 PM, Alive 4ever wrote:
> Added headers needed to suppress implicit function declaration error.
> This fixes build on gcc 6.1.1 and clang 3.8.0.
Those headers are not the same on all OS'es - you'd need to check for existence
of the headers in configure.ac and then use those #ifdef's instead.
> +# include <bsd/unistd.h>
> +#include <bsd/stdlib.h>
> +#include <bsd/unistd.h>
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
More information about the xorg-devel
mailing list