diff options
author | Sebastian Reitenbach <sebastia@cvs.openbsd.org> | 2014-05-30 06:42:01 +0000 |
---|---|---|
committer | Sebastian Reitenbach <sebastia@cvs.openbsd.org> | 2014-05-30 06:42:01 +0000 |
commit | d7a91cb371e78aacb51a1049c3d5d24771474b7c (patch) | |
tree | 2c49e1afaa1959da758fb28970968cde786518e9 /driver | |
parent | 0b0788d6bcef2061be56adb10997d074ff6c1f74 (diff) |
Include missing header to segfault seen on Xorg startup with nv driver,
savage driver seems to have same problem.
help and cluebatting from matthieu@ and guenther@
OK matthieu@
Diffstat (limited to 'driver')
-rw-r--r-- | driver/xf86-video-nv/src/nv_driver.c | 1 | ||||
-rw-r--r-- | driver/xf86-video-savage/src/savage_driver.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/driver/xf86-video-nv/src/nv_driver.c b/driver/xf86-video-nv/src/nv_driver.c index 2a4160efc..08dd4d8e3 100644 --- a/driver/xf86-video-nv/src/nv_driver.c +++ b/driver/xf86-video-nv/src/nv_driver.c @@ -32,6 +32,7 @@ #include "xf86int10.h" #include "vbeModes.h" +#include "xf86Modes.h" const OptionInfoRec * RivaAvailableOptions(int chipid, int busid); Bool RivaGetScrnInfoRec(PciChipsets *chips, int chip); diff --git a/driver/xf86-video-savage/src/savage_driver.c b/driver/xf86-video-savage/src/savage_driver.c index 91855057a..c1accbd98 100644 --- a/driver/xf86-video-savage/src/savage_driver.c +++ b/driver/xf86-video-savage/src/savage_driver.c @@ -54,6 +54,7 @@ #include "xf86xv.h" +#include "xf86Modes.h" #include "savage_driver.h" #include "savage_pciids.h" |