Linux seems to pick this up via another header, but Solaris needs it explictly included, or we get undefined symbol errors for major & minor. Signed-off-by: Alan Coopersmith <alan.coopersmith@xxxxxxxxxx> --- libkms/linux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libkms/linux.c b/libkms/linux.c index 4d47148..f1767c8 100644 --- a/libkms/linux.c +++ b/libkms/linux.c @@ -40,6 +40,7 @@ #include <string.h> #include <unistd.h> #include <sys/stat.h> +#include <sys/sysmacros.h> #include "libdrm_macros.h" #include "internal.h" -- 1.7.9.2 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel