#511. Fixed C compilation errors for the latest versions of Mac OS X

This commit is contained in:
Kyrill Alyoshin
2020-08-26 15:28:54 -04:00
parent 790e24bc0a
commit 9fcf066e38
3 changed files with 4 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
#include "crf_context.h"
#include "float_utils.h"
crf_context_t *crf_context_new(int flag, size_t L, size_t T) {
crf_context_t *context = malloc(sizeof(crf_context_t));

View File

@@ -7,6 +7,7 @@
#include "language_classifier_io.h"
#include "string_utils.h"
#include "trie_utils.h"
#include "transliterate.h"
double test_accuracy(char *filename) {

View File

@@ -4,6 +4,8 @@
#include "string_utils.h"
#include "file_utils.h"
// Run shuf/gshuf on a file in-place if the shuf command is available.
bool shuffle_file(char *filename) {
char *shuffle_command = NULL;