summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2016-11-29 15:36:25 +0800
committerPeng Wu <alexepico@gmail.com>2016-11-29 15:36:25 +0800
commit01a316ede141e931b871e066c9b87f5af3a3368f (patch)
tree0b1db8b8ac95c1250fad2313eb6e7ecc5cf0b09b
parentabed0b59cbeb3e129082b40df844bf148b8b96db (diff)
downloadlibpinyin-01a316ede141e931b871e066c9b87f5af3a3368f.tar.gz
libpinyin-01a316ede141e931b871e066c9b87f5af3a3368f.tar.xz
libpinyin-01a316ede141e931b871e066c9b87f5af3a3368f.zip
fixes compile
-rw-r--r--CMakeLists.txt1
-rw-r--r--src/include/memory_chunk.h2
-rw-r--r--src/storage/flexible_ngram_kyotodb.h2
-rw-r--r--src/storage/ngram.h2
4 files changed, 4 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5c49d2f..d681ddf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -158,6 +158,7 @@ endif (CMAKE_BUILD_TYPE MATCHES Debug)
include_directories(
${GLIB2_INCLUDE_DIR}
+ ${PROJECT_SOURCE_DIR}/
${PROJECT_SOURCE_DIR}/src
${PROJECT_SOURCE_DIR}/src/include
${PROJECT_SOURCE_DIR}/src/storage
diff --git a/src/include/memory_chunk.h b/src/include/memory_chunk.h
index fce7f07..83b8ad9 100644
--- a/src/include/memory_chunk.h
+++ b/src/include/memory_chunk.h
@@ -21,7 +21,7 @@
#ifndef MEMORY_CHUNK_H
#define MEMORY_CHUNK_H
-#include <config.h>
+#include "config.h"
#include <assert.h>
#include <sys/types.h>
#include <sys/stat.h>
diff --git a/src/storage/flexible_ngram_kyotodb.h b/src/storage/flexible_ngram_kyotodb.h
index 3b8f0f8..ad84b78 100644
--- a/src/storage/flexible_ngram_kyotodb.h
+++ b/src/storage/flexible_ngram_kyotodb.h
@@ -21,7 +21,7 @@
#ifndef FLEXIBLE_NGRAM_KYOTODB_H
#define FLEXIBLE_NGRAM_KYOTODB_H
-#include <config.h>
+#include "config.h"
#ifdef HAVE_KYOTO_CABINET
#include <kcdb.h>
#include <kchashdb.h>
diff --git a/src/storage/ngram.h b/src/storage/ngram.h
index ac7e578..7f7a653 100644
--- a/src/storage/ngram.h
+++ b/src/storage/ngram.h
@@ -21,7 +21,7 @@
#ifndef NGRAM_H
#define NGRAM_H
-#include <config.h>
+#include "config.h"
#include <glib.h>
#include "novel_types.h"