mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-08-03 10:16:03 -04:00
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 <fstream>
|
||||
#include <exception>
|
||||
#include <stdexcept>
|
||||
#include "{include_file}"
|
||||
|
||||
class ResourceNotFound : public std::runtime_error {{
|
||||
|
Loading…
x
Reference in New Issue
Block a user