Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Heafield <kenlm@kheafield.com>2012-03-11 21:47:38 +0400
committerKenneth Heafield <kenlm@kheafield.com>2012-03-11 21:47:38 +0400
commit4bcd2c75ca21ece4c0fa6947e4f9950b5e32fc2e (patch)
treec279eee1e5a3d3d7d417ec747091e184c418b7bf /util/getopt.c
parentd5efa27be90429e4bdbce6f3a5a2b77512c3772b (diff)
KenLM c1dba12
- Reject NaNs - Fix ChartState hashing (unused in Moses) - Expose CreateOrThrow - Minor portability improvement in getopt
Diffstat (limited to 'util/getopt.c')
-rw-r--r--util/getopt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/getopt.c b/util/getopt.c
index 5dfe545de..992c96b0c 100644
--- a/util/getopt.c
+++ b/util/getopt.c
@@ -10,6 +10,7 @@ Code given out at the 1985 UNIFORUM conference in Dallas.
#include "getopt.hh"
#include <stdio.h>
+#include <string.h>
#define NULL 0
#define EOF (-1)
@@ -74,4 +75,4 @@ char **argv, *opts;
return(c);
}
-#endif /* __GNUC__ */ \ No newline at end of file
+#endif /* __GNUC__ */