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>
This commit is contained in:
Alan Coopersmith
2014-12-23 19:07:09 -08:00
committed by Daniel Vetter
parent f7766d1c77
commit cf93bc8df9
3 changed files with 10 additions and 2 deletions
+4
View File
@@ -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>