diff options
author | Alan Coopersmith | 2015-03-07 13:44:32 -0600 |
---|---|---|
committer | Alan Coopersmith | 2015-03-14 10:37:36 -0500 |
commit | 0e1135de5cbb783846a4f7e9ef8a5f953f7c77ae (patch) | |
tree | 88b974cf583174951938e218c650fc56d2a04af8 /configure.ac | |
parent | ba5a0b6274ad9c493ed3ddaf4e13559b9ff55ac1 (diff) | |
download | external-libdrm-0e1135de5cbb783846a4f7e9ef8a5f953f7c77ae.tar.gz external-libdrm-0e1135de5cbb783846a4f7e9ef8a5f953f7c77ae.tar.xz external-libdrm-0e1135de5cbb783846a4f7e9ef8a5f953f7c77ae.zip |
On Solaris, #include <sys/mkdev.h> in xf86drm.c
Needed on Solaris for the definitions of major() & minor() used in
drmGetNodeTypeFromFd() and makedev() used in drmOpenMinor()
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 106d9709..1fd0818e 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -42,6 +42,8 @@ AC_USE_SYSTEM_EXTENSIONS | |||
42 | AC_SYS_LARGEFILE | 42 | AC_SYS_LARGEFILE |
43 | AC_FUNC_ALLOCA | 43 | AC_FUNC_ALLOCA |
44 | 44 | ||
45 | AC_CHECK_HEADERS([sys/mkdev.h]) | ||
46 | |||
45 | # Initialize libtool | 47 | # Initialize libtool |
46 | LT_PREREQ([2.2]) | 48 | LT_PREREQ([2.2]) |
47 | LT_INIT([disable-static]) | 49 | LT_INIT([disable-static]) |