From 4012ca7792040d112a7d0eb2fd5d6e406273d0ad Mon Sep 17 00:00:00 2001 From: sebastia Date: Fri, 30 May 2014 06:42:00 +0000 Subject: [PATCH] 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@ --- driver/xf86-video-nv/src/nv_driver.c | 1 + driver/xf86-video-savage/src/savage_driver.c | 1 + 2 files changed, 2 insertions(+) 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"