-
Headers should be self-contained, having all includes they need to built. Add the missing ones (alphabetically sorted). Checking what includes were missed was done with the help of this small script: for i in $(ls lib/*.h|grep -v igt_freebsd.h|sort); do gcc -I . -I build/ -I include/ -I ./include/drm-uapi/ -I lib/ -I /usr/include/cairo/ -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include/ -c $i done While at this also sorted includes and added a missing logic to detect duplicated includes at igt_tread. Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>