mirror of https://github.com/kiwix/libkiwix.git
Use correct include in generated resource file.
std::runtime_error is defined in <stdexcept> not <exception>. Recent gcc version compiled the resource file without complain but old version need a correct include.
This commit is contained in:
parent
5a9fd265d3
commit
a3d01b6303
|
@ -78,7 +78,7 @@ master_c_template = """//This file is automaically generated. Do not modify it.
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <exception>
|
#include <stdexcept>
|
||||||
#include "{include_file}"
|
#include "{include_file}"
|
||||||
|
|
||||||
class ResourceNotFound : public std::runtime_error {{
|
class ResourceNotFound : public std::runtime_error {{
|
||||||
|
|
Loading…
Reference in New Issue