OpenCC // Swift 5.7 compilation compatibility.

- The Swift 5.7 toolchain makes the cpp compilation (for files in OpenCC) stricter than before.
This commit is contained in:
ShikiSuen 2022-06-08 23:04:04 +08:00
parent 062914d115
commit 4e9ec80ce6
2 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@
#include <algorithm>
#include <cstring>
#include <malloc/_malloc.h>
#include "BinaryDict.hpp"
#include "DartsDict.hpp"

View File

@ -16,6 +16,7 @@
* limitations under the License.
*/
#include <stdlib.h>
#include "DictConverter.hpp"
#include "MarisaDict.hpp"
#include "TextDict.hpp"