summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-01-29 11:29:17 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-01-29 11:29:17 -0800
commitf58ba53e6b6fe1b6e21d6aa3901a11e6130b95b0 (patch)
tree6f9504aeffb88a9df61b8319caaa9a0bbb42846e
parentebdd4d9b95cf7a7106c5616cbafd7744811035e4 (diff)
Include xf86Cursor.h instead of xf86RamDac.h
ramdac drivers have been removed from xserver since version 21.0.99.1 and xorg/xserver@f0385fb4 resulting in the following build failure: In file included from ../../src/leo_accel.c:39: ../../src/leo.h:29:10: fatal error: xf86RamDac.h: No such file or directory 29 | #include "xf86RamDac.h" | ^~~~~~~~~~~~~~ but xf86RamDac.h in turn included xf86Cursor.h which we still need. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/leo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leo.h b/src/leo.h
index a5bf41d..c45c59b 100644
--- a/src/leo.h
+++ b/src/leo.h
@@ -26,7 +26,7 @@
#include "xf86.h"
#include "xf86_OSproc.h"
-#include "xf86RamDac.h"
+#include "xf86Cursor.h"
#include <X11/Xmd.h>
#include "gcstruct.h"
#include "leo_regs.h"