summaryrefslogtreecommitdiffstats
path: root/utils/segment
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2010-11-02 16:11:28 +0800
committerPeng Wu <alexepico@gmail.com>2010-11-02 16:11:28 +0800
commit7e8a335a57c64349318d2e8a8e36eae36a8fa8f7 (patch)
tree0381beba47249323f93bc49e290eb9c1b115d462 /utils/segment
parentfd836905ef0f4d6669b60815eed3648a7890c232 (diff)
downloadlibpinyin-7e8a335a57c64349318d2e8a8e36eae36a8fa8f7.tar.gz
libpinyin-7e8a335a57c64349318d2e8a8e36eae36a8fa8f7.tar.xz
libpinyin-7e8a335a57c64349318d2e8a8e36eae36a8fa8f7.zip
fixes compile errors
Diffstat (limited to 'utils/segment')
-rw-r--r--utils/segment/ngseg.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/segment/ngseg.cpp b/utils/segment/ngseg.cpp
index 780d643..21721e2 100644
--- a/utils/segment/ngseg.cpp
+++ b/utils/segment/ngseg.cpp
@@ -19,6 +19,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include <stdio.h>
+#include <stdlib.h>
+
/* n-gram based sentence segment. */
/* Note:
@@ -32,8 +35,6 @@ void print_help(){
exit(1);
}
-#include <stdio.h>
-
int main(int argc, char * argv[]){
return 0;
}