summaryrefslogtreecommitdiffstats
path: root/src/PYPunctEditor.cc
diff options
context:
space:
mode:
authorPeng Huang <shawn.p.huang@gmail.com>2010-09-27 14:09:07 +0800
committerPeng Huang <shawn.p.huang@gmail.com>2010-09-27 14:09:07 +0800
commita0b31c7a250cfa7af1b52056a1d1ada81b22a455 (patch)
tree8da3ce94a625c249e3e4b1ab81afcee7f4900236 /src/PYPunctEditor.cc
parent27c2f7ea0ef69094db2dfc009bb661276fc90227 (diff)
downloadibus-libpinyin-a0b31c7a250cfa7af1b52056a1d1ada81b22a455.tar.gz
ibus-libpinyin-a0b31c7a250cfa7af1b52056a1d1ada81b22a455.tar.xz
ibus-libpinyin-a0b31c7a250cfa7af1b52056a1d1ada81b22a455.zip
Add option --disable-boost to support build without boost
When build without boost, ibus-pinyin will use smart pointer from c++0x and use the signal templates embedded instead of boost::signals2. BUG=chromium-os:5055 TEST=manual Review URL: http://codereview.appspot.com/2205044
Diffstat (limited to 'src/PYPunctEditor.cc')
-rw-r--r--src/PYPunctEditor.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/PYPunctEditor.cc b/src/PYPunctEditor.cc
index 091d639..302c6e4 100644
--- a/src/PYPunctEditor.cc
+++ b/src/PYPunctEditor.cc
@@ -19,6 +19,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <algorithm>
#include "PYConfig.h"
#include "PYPunctEditor.h"