diff options
author | Kenneth Heafield <kenlm@kheafield.com> | 2012-03-11 21:47:38 +0400 |
---|---|---|
committer | Kenneth Heafield <kenlm@kheafield.com> | 2012-03-11 21:47:38 +0400 |
commit | 4bcd2c75ca21ece4c0fa6947e4f9950b5e32fc2e (patch) | |
tree | c279eee1e5a3d3d7d417ec747091e184c418b7bf /util/getopt.c | |
parent | d5efa27be90429e4bdbce6f3a5a2b77512c3772b (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.c | 3 |
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__ */ |