diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-12-23 19:07:09 -0800 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-01-06 09:29:45 +0100 |
commit | cf93bc8df9f5f94a0aedc8b52bad0ad4e036737c (patch) | |
tree | af848543efbb9d7a915a05b5117cd36460e17029 /tests | |
parent | f7766d1c77ffef757e05cbd6c6ed110cdd830045 (diff) |
Solaris needs to #include <sys/kd.h> instead of <linux/kd.h>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/kms_flip.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/kms_flip.c b/tests/kms_flip.c index 7e86bbea..557bcd4a 100644 --- a/tests/kms_flip.c +++ b/tests/kms_flip.c @@ -34,7 +34,11 @@ #include <sys/poll.h> #include <sys/time.h> #include <sys/ioctl.h> +#ifdef HAVE_LINUX_KD_H #include <linux/kd.h> +#elif HAVE_SYS_KD_H +#include <sys/kd.h> +#endif #include <time.h> #include <pthread.h> |