diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-09-10 11:48:40 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-09-10 11:58:11 +0100 |
commit | 224af800f695b50ba5a65b5a2b9ca1e7a88d4e1a (patch) | |
tree | 7bfe81cc2979e22006e46ce4a0e5bcfefa68c40e /src/sna/sna.h | |
parent | 0d1df4762ffd7babb95a5f48f77487a6c7db83fe (diff) |
sna: Emit assertions with FatalError
The intention is to be able to capture the assertion in the Xorg.0.log
(journald equivalent). At the moment, it is emitted to stderr which is
difficult to capture and defeats the goal of only asking the reporter to
upload one log file.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna.h')
-rw-r--r-- | src/sna/sna.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna.h b/src/sna/sna.h index bb0cbb28..ad74870a 100644 --- a/src/sna/sna.h +++ b/src/sna/sna.h @@ -76,6 +76,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include <signal.h> #include <setjmp.h> +#include "xassert.h" #include "compiler.h" #if HAS_DEBUG_FULL |