diff --git a/aegisub/src/agi_pre.h b/aegisub/src/agi_pre.h index 5e3a72cc4..b0f535704 100644 --- a/aegisub/src/agi_pre.h +++ b/aegisub/src/agi_pre.h @@ -40,8 +40,12 @@ /// @note Make sure that you disable use of precompiled headers on md5.c and /// MatroskaParser.c, as well as any possible future .c files. +#ifndef AGI_PRE_H + +/// @brief Inclusion guard. +/// @todo Why is this even nessicary? GCC seems to include agi_pre.h twice for no reason. +#define AGI_PRE_H -//////////// // C++ only #ifdef __cplusplus @@ -240,3 +244,5 @@ #include "include/aegisub/exception.h" #endif // C++ + +#endif // AGI_PRE_H