HAVE_LIBDRM comes from config.h, so include it first.
With CFLAGS=-Wall -Werror, the build fails with:
| CC vmware_drv_la-vmwaremodule.lo
| cc1: warnings being treated as errors
| vmwaremodule.c: In function ‘vmware_check_kernel_module’:
| vmwaremodule.c:100: error: implicit declaration of
You're right. This was caused by a sloppy fix by me for another problem.
I'll revert that fix tomorrow and try to find a correct fix for that
problem.
/Thomas
On 01/21/2011 10:57 PM, Gaetan Nadon wrote:
On Fri, 2011-01-21 at 20:07 +0100, Cyril Brulebois wrote:
HAVE_LIBDRM comes from