Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build without PCH #241

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libaegisub/ass/uuencode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <libaegisub/ass/uuencode.h>

#include <algorithm>

#include <cstring>
// Despite being called uuencoding by ass_specs.doc, the format is actually
// somewhat different from real uuencoding. Each 3-byte chunk is split into 4
// 6-bit pieces, then 33 is added to each piece. Lines are wrapped after 80
Expand Down
1 change: 1 addition & 0 deletions libaegisub/audio/provider_dummy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

#include "libaegisub/fs.h"

#include <cstring>
#include <random>

/*
Expand Down
1 change: 1 addition & 0 deletions libaegisub/common/cajun/reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Author: Terry Caton
#include "libaegisub/cajun/reader.h"

#include <boost/interprocess/streams/bufferstream.hpp>
#include <algorithm>
#include <cassert>

/*
Expand Down
2 changes: 1 addition & 1 deletion libaegisub/common/calltip_provider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "libaegisub/ass/dialogue_parser.h"

#include <algorithm>

#include <cstring>
namespace {
struct proto_lit {
const char *name;
Expand Down
2 changes: 1 addition & 1 deletion libaegisub/common/mru.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "libaegisub/log.h"
#include "libaegisub/option.h"
#include "libaegisub/option_value.h"

#include <algorithm>
namespace {
std::string_view mru_names[] = {
"Audio",
Expand Down
1 change: 1 addition & 0 deletions libaegisub/common/option.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include "libaegisub/option_value.h"

#include <boost/interprocess/streams/bufferstream.hpp>
#include <algorithm>
#include <cassert>
#include <memory>

Expand Down
1 change: 1 addition & 0 deletions libaegisub/common/thesaurus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include "libaegisub/split.h"

#include <boost/interprocess/streams/bufferstream.hpp>
#include <algorithm>

namespace agi {

Expand Down
1 change: 1 addition & 0 deletions libaegisub/include/libaegisub/lua/ffi.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <libaegisub/type_name.h>

#include <cstdlib>
#include <cstring>
#include <lua.hpp>

namespace agi::lua {
Expand Down
2 changes: 1 addition & 1 deletion libaegisub/lua/modules/unicode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <libaegisub/lua/ffi.h>

#include <unicode/unistr.h>

#include <cstring>
namespace {
char *wrap(void (*fn)(icu::UnicodeString&), const char *str, char **err) {
auto ustr = icu::UnicodeString::fromUTF8(str);
Expand Down
2 changes: 2 additions & 0 deletions libaegisub/unix/path.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

#include <pwd.h>

#include "../acconf.h"

#ifndef __APPLE__
#include <fstream>
#include <stdlib.h>
Expand Down
2 changes: 2 additions & 0 deletions src/aegisublocale.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
#include "options.h"
#include "utils.h"

#include "../acconf.h"

#include <libaegisub/path.h>

#include <algorithm>
Expand Down
2 changes: 2 additions & 0 deletions src/audio_timing_dialogue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
#include "selection_controller.h"
#include "utils.h"

#include <list>

#include <libaegisub/ass/time.h>

#include <boost/range/algorithm.hpp>
Expand Down
2 changes: 2 additions & 0 deletions src/base_grid.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
#include <memory>
#include <string>
#include <vector>
#include <wx/brush.h>
#include <wx/scrolbar.h>
#include <wx/window.h>

namespace agi {
Expand Down
1 change: 1 addition & 0 deletions src/command/command.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
/// @ingroup command

#include <map>
#include <memory>
#include <string>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion src/frame_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
#include <wx/sizer.h>
#include <wx/statline.h>
#include <wx/sysopt.h>

#include <wx/toolbar.h>
enum {
ID_APP_TIMER_STATUSCLEAR = 12002
};
Expand Down
1 change: 1 addition & 0 deletions src/preferences.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@

#include <wx/checkbox.h>
#include <wx/combobox.h>
#include <wx/dc.h>
#include <wx/event.h>
#include <wx/listctrl.h>
#include <wx/msgdlg.h>
Expand Down