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- [email protected]
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel