summaryrefslogtreecommitdiffstats
path: root/indexlib
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-12-15 11:30:44 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-12-15 22:26:33 +0900
commit3a75bdfe83b71ef1dbc2fbf52f2d18b8174e22e5 (patch)
treeac71fb25d43d090e8073c77891c40697d47877d7 /indexlib
parent2df45fd65d407b089967e948fa4a24439ef09458 (diff)
downloadtdepim-3a75bdfe83b71ef1dbc2fbf52f2d18b8174e22e5.tar.gz
tdepim-3a75bdfe83b71ef1dbc2fbf52f2d18b8174e22e5.zip
Renaming of files in preparation for code style tools.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'indexlib')
-rw-r--r--indexlib/bitio.h2
-rw-r--r--indexlib/bitio.tcc4
-rw-r--r--indexlib/boost-compat/checked_delete.h (renamed from indexlib/boost-compat/checked_delete.hpp)6
-rw-r--r--indexlib/boost-compat/config.h (renamed from indexlib/boost-compat/config.hpp)10
-rw-r--r--indexlib/boost-compat/config/abi/borland_prefix.h (renamed from indexlib/boost-compat/config/abi/borland_prefix.hpp)0
-rw-r--r--indexlib/boost-compat/config/abi/borland_suffix.h (renamed from indexlib/boost-compat/config/abi/borland_suffix.hpp)0
-rw-r--r--indexlib/boost-compat/config/abi/msvc_prefix.h (renamed from indexlib/boost-compat/config/abi/msvc_prefix.hpp)0
-rw-r--r--indexlib/boost-compat/config/abi/msvc_suffix.h (renamed from indexlib/boost-compat/config/abi/msvc_suffix.hpp)0
-rw-r--r--indexlib/boost-compat/config/abi_prefix.h (renamed from indexlib/boost-compat/config/abi_prefix.hpp)4
-rw-r--r--indexlib/boost-compat/config/abi_suffix.h (renamed from indexlib/boost-compat/config/abi_suffix.hpp)4
-rw-r--r--indexlib/boost-compat/config/auto_link.h (renamed from indexlib/boost-compat/config/auto_link.hpp)6
-rw-r--r--indexlib/boost-compat/config/compiler/borland.h (renamed from indexlib/boost-compat/config/compiler/borland.hpp)0
-rw-r--r--indexlib/boost-compat/config/compiler/comeau.h (renamed from indexlib/boost-compat/config/compiler/comeau.hpp)0
-rw-r--r--indexlib/boost-compat/config/compiler/common_edg.h (renamed from indexlib/boost-compat/config/compiler/common_edg.hpp)2
-rw-r--r--indexlib/boost-compat/config/compiler/compaq_cxx.h (renamed from indexlib/boost-compat/config/compiler/compaq_cxx.hpp)0
-rw-r--r--indexlib/boost-compat/config/compiler/digitalmars.h (renamed from indexlib/boost-compat/config/compiler/digitalmars.hpp)0
-rw-r--r--indexlib/boost-compat/config/compiler/gcc.h (renamed from indexlib/boost-compat/config/compiler/gcc.hpp)2
-rw-r--r--indexlib/boost-compat/config/compiler/greenhills.h (renamed from indexlib/boost-compat/config/compiler/greenhills.hpp)0
-rw-r--r--indexlib/boost-compat/config/compiler/hp_acc.h (renamed from indexlib/boost-compat/config/compiler/hp_acc.hpp)0
-rw-r--r--indexlib/boost-compat/config/compiler/intel.h (renamed from indexlib/boost-compat/config/compiler/intel.hpp)0
-rw-r--r--indexlib/boost-compat/config/compiler/kai.h (renamed from indexlib/boost-compat/config/compiler/kai.hpp)2
-rw-r--r--indexlib/boost-compat/config/compiler/metrowerks.h (renamed from indexlib/boost-compat/config/compiler/metrowerks.hpp)0
-rw-r--r--indexlib/boost-compat/config/compiler/mpw.h (renamed from indexlib/boost-compat/config/compiler/mpw.hpp)0
-rw-r--r--indexlib/boost-compat/config/compiler/sgi_mipspro.h (renamed from indexlib/boost-compat/config/compiler/sgi_mipspro.hpp)0
-rw-r--r--indexlib/boost-compat/config/compiler/sunpro_cc.h (renamed from indexlib/boost-compat/config/compiler/sunpro_cc.hpp)2
-rw-r--r--indexlib/boost-compat/config/compiler/vacpp.h (renamed from indexlib/boost-compat/config/compiler/vacpp.hpp)0
-rw-r--r--indexlib/boost-compat/config/compiler/visualc.h (renamed from indexlib/boost-compat/config/compiler/visualc.hpp)0
-rw-r--r--indexlib/boost-compat/config/platform/aix.h (renamed from indexlib/boost-compat/config/platform/aix.hpp)0
-rw-r--r--indexlib/boost-compat/config/platform/amigaos.h (renamed from indexlib/boost-compat/config/platform/amigaos.hpp)0
-rw-r--r--indexlib/boost-compat/config/platform/beos.h (renamed from indexlib/boost-compat/config/platform/beos.hpp)0
-rw-r--r--indexlib/boost-compat/config/platform/bsd.h (renamed from indexlib/boost-compat/config/platform/bsd.hpp)0
-rw-r--r--indexlib/boost-compat/config/platform/cygwin.h (renamed from indexlib/boost-compat/config/platform/cygwin.hpp)0
-rw-r--r--indexlib/boost-compat/config/platform/hpux.h (renamed from indexlib/boost-compat/config/platform/hpux.hpp)0
-rw-r--r--indexlib/boost-compat/config/platform/irix.h (renamed from indexlib/boost-compat/config/platform/irix.hpp)0
-rw-r--r--indexlib/boost-compat/config/platform/linux.h (renamed from indexlib/boost-compat/config/platform/linux.hpp)0
-rw-r--r--indexlib/boost-compat/config/platform/macos.h (renamed from indexlib/boost-compat/config/platform/macos.hpp)0
-rw-r--r--indexlib/boost-compat/config/platform/solaris.h (renamed from indexlib/boost-compat/config/platform/solaris.hpp)0
-rw-r--r--indexlib/boost-compat/config/platform/win32.h (renamed from indexlib/boost-compat/config/platform/win32.hpp)0
-rw-r--r--indexlib/boost-compat/config/posix_features.h (renamed from indexlib/boost-compat/config/posix_features.hpp)0
-rw-r--r--indexlib/boost-compat/config/requires_threads.h (renamed from indexlib/boost-compat/config/requires_threads.hpp)8
-rw-r--r--indexlib/boost-compat/config/select_compiler_config.h (renamed from indexlib/boost-compat/config/select_compiler_config.hpp)0
-rw-r--r--indexlib/boost-compat/config/select_platform_config.h (renamed from indexlib/boost-compat/config/select_platform_config.hpp)0
-rw-r--r--indexlib/boost-compat/config/select_stdlib_config.h (renamed from indexlib/boost-compat/config/select_stdlib_config.hpp)0
-rw-r--r--indexlib/boost-compat/config/stdlib/dinkumware.h (renamed from indexlib/boost-compat/config/stdlib/dinkumware.hpp)0
-rw-r--r--indexlib/boost-compat/config/stdlib/libcomo.h (renamed from indexlib/boost-compat/config/stdlib/libcomo.hpp)0
-rw-r--r--indexlib/boost-compat/config/stdlib/libstdcpp3.h (renamed from indexlib/boost-compat/config/stdlib/libstdcpp3.hpp)2
-rw-r--r--indexlib/boost-compat/config/stdlib/modena.h (renamed from indexlib/boost-compat/config/stdlib/modena.hpp)0
-rw-r--r--indexlib/boost-compat/config/stdlib/msl.h (renamed from indexlib/boost-compat/config/stdlib/msl.hpp)0
-rw-r--r--indexlib/boost-compat/config/stdlib/roguewave.h (renamed from indexlib/boost-compat/config/stdlib/roguewave.hpp)0
-rw-r--r--indexlib/boost-compat/config/stdlib/sgi.h (renamed from indexlib/boost-compat/config/stdlib/sgi.hpp)0
-rw-r--r--indexlib/boost-compat/config/stdlib/stlport.h (renamed from indexlib/boost-compat/config/stdlib/stlport.hpp)0
-rw-r--r--indexlib/boost-compat/config/stdlib/vacpp.h (renamed from indexlib/boost-compat/config/stdlib/vacpp.hpp)0
-rw-r--r--indexlib/boost-compat/config/suffix.h (renamed from indexlib/boost-compat/config/suffix.hpp)8
-rw-r--r--indexlib/boost-compat/config/user.h (renamed from indexlib/boost-compat/config/user.hpp)2
-rw-r--r--indexlib/boost-compat/intrusive_ptr.h (renamed from indexlib/boost-compat/intrusive_ptr.hpp)8
-rw-r--r--indexlib/boost-compat/next_prior.h (renamed from indexlib/boost-compat/next_prior.hpp)8
-rw-r--r--indexlib/boost-compat/noncopyable.h (renamed from indexlib/boost-compat/noncopyable.hpp)8
-rw-r--r--indexlib/boost-compat/remove_cv.h (renamed from indexlib/boost-compat/remove_cv.hpp)8
-rw-r--r--indexlib/boost-compat/scoped_ptr.h (renamed from indexlib/boost-compat/scoped_ptr.hpp)8
-rw-r--r--indexlib/boost-compat/shared_ptr.h (renamed from indexlib/boost-compat/shared_ptr.hpp)8
-rw-r--r--indexlib/boost-compat/smart_ptr.h (renamed from indexlib/boost-compat/smart_ptr.hpp)8
-rw-r--r--indexlib/boost-compat/static_assert.h11
-rw-r--r--indexlib/boost-compat/static_assert.hpp11
-rw-r--r--indexlib/boost-compat/weak_ptr.h (renamed from indexlib/boost-compat/weak_ptr.hpp)8
-rw-r--r--indexlib/configure.in.in2
-rw-r--r--indexlib/ifile.cpp2
-rw-r--r--indexlib/index_slow.h2
-rw-r--r--indexlib/leafdata.cpp2
-rw-r--r--indexlib/memvector.h4
-rw-r--r--indexlib/pointer.h2
-rw-r--r--indexlib/stringarray.h2
71 files changed, 83 insertions, 83 deletions
diff --git a/indexlib/bitio.h b/indexlib/bitio.h
index 913f44ea4..1ecc0cb22 100644
--- a/indexlib/bitio.h
+++ b/indexlib/bitio.h
@@ -32,7 +32,7 @@
*/
#include <inttypes.h>
-#include "boost-compat/remove_cv.hpp"
+#include "boost-compat/remove_cv.h"
/**
* \namespace byte_io
diff --git a/indexlib/bitio.tcc b/indexlib/bitio.tcc
index f6dbdfc0b..f1c14c778 100644
--- a/indexlib/bitio.tcc
+++ b/indexlib/bitio.tcc
@@ -1,5 +1,5 @@
-#include "boost-compat/static_assert.hpp"
-#include "boost-compat/remove_cv.hpp"
+#include "boost-compat/static_assert.h"
+#include "boost-compat/remove_cv.h"
#ifdef HAVE_BOOST
#include <boost/type_traits/is_same.hpp>
#endif
diff --git a/indexlib/boost-compat/checked_delete.hpp b/indexlib/boost-compat/checked_delete.h
index 9bb84e8e1..db740fcb1 100644
--- a/indexlib/boost-compat/checked_delete.hpp
+++ b/indexlib/boost-compat/checked_delete.h
@@ -1,5 +1,5 @@
-#ifndef BOOST_CHECKED_DELETE_HPP_INCLUDED
-#define BOOST_CHECKED_DELETE_HPP_INCLUDED
+#ifndef BOOST_CHECKED_DELETE_H_INCLUDED
+#define BOOST_CHECKED_DELETE_H_INCLUDED
// MS compatible compilers support #pragma once
@@ -66,4 +66,4 @@ template<class T> struct checked_array_deleter
} // namespace boost
-#endif // #ifndef BOOST_CHECKED_DELETE_HPP_INCLUDED
+#endif // #ifndef BOOST_CHECKED_DELETE_H_INCLUDED
diff --git a/indexlib/boost-compat/config.hpp b/indexlib/boost-compat/config.h
index 055a27855..86f12b817 100644
--- a/indexlib/boost-compat/config.hpp
+++ b/indexlib/boost-compat/config.h
@@ -1,4 +1,4 @@
-// Boost config.hpp configuration header file ------------------------------//
+// Boost config.h configuration header file ------------------------------//
// (C) Copyright John Maddock 2002.
// Use, modification and distribution are subject to the
@@ -7,15 +7,15 @@
// See http://www.boost.org/libs/config for most recent version.
-// Boost config.hpp policy and rationale documentation has been moved to
+// Boost config.h policy and rationale documentation has been moved to
// http://www.boost.org/libs/config
//
// CAUTION: This file is intended to be completely stable -
// DO NOT MODIFY THIS FILE!
//
-#ifndef BOOST_CONFIG_HPP
-#define BOOST_CONFIG_HPP
+#ifndef BOOST_CONFIG_H
+#define BOOST_CONFIG_H
// if we don't have a user config, then use the default location:
#if !defined(BOOST_USER_CONFIG) && !defined(BOOST_NO_USER_CONFIG)
@@ -56,7 +56,7 @@
// get config suffix code:
#include <boost/config/suffix.hpp>
-#endif // BOOST_CONFIG_HPP
+#endif // BOOST_CONFIG_H
diff --git a/indexlib/boost-compat/config/abi/borland_prefix.hpp b/indexlib/boost-compat/config/abi/borland_prefix.h
index 49f424949..49f424949 100644
--- a/indexlib/boost-compat/config/abi/borland_prefix.hpp
+++ b/indexlib/boost-compat/config/abi/borland_prefix.h
diff --git a/indexlib/boost-compat/config/abi/borland_suffix.hpp b/indexlib/boost-compat/config/abi/borland_suffix.h
index 940535f38..940535f38 100644
--- a/indexlib/boost-compat/config/abi/borland_suffix.hpp
+++ b/indexlib/boost-compat/config/abi/borland_suffix.h
diff --git a/indexlib/boost-compat/config/abi/msvc_prefix.hpp b/indexlib/boost-compat/config/abi/msvc_prefix.h
index 3d3905c21..3d3905c21 100644
--- a/indexlib/boost-compat/config/abi/msvc_prefix.hpp
+++ b/indexlib/boost-compat/config/abi/msvc_prefix.h
diff --git a/indexlib/boost-compat/config/abi/msvc_suffix.hpp b/indexlib/boost-compat/config/abi/msvc_suffix.h
index a64d783eb..a64d783eb 100644
--- a/indexlib/boost-compat/config/abi/msvc_suffix.hpp
+++ b/indexlib/boost-compat/config/abi/msvc_suffix.h
diff --git a/indexlib/boost-compat/config/abi_prefix.hpp b/indexlib/boost-compat/config/abi_prefix.h
index 1733dc036..d4ddd29b5 100644
--- a/indexlib/boost-compat/config/abi_prefix.hpp
+++ b/indexlib/boost-compat/config/abi_prefix.h
@@ -6,8 +6,8 @@
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).
-#ifndef BOOST_CONFIG_ABI_PREFIX_HPP
-# define BOOST_CONFIG_ABI_PREFIX_HPP
+#ifndef BOOST_CONFIG_ABI_PREFIX_H
+# define BOOST_CONFIG_ABI_PREFIX_H
#else
# error double inclusion of header boost/config/abi_prefix.hpp is an error
#endif
diff --git a/indexlib/boost-compat/config/abi_suffix.hpp b/indexlib/boost-compat/config/abi_suffix.h
index 6339da631..4876507e6 100644
--- a/indexlib/boost-compat/config/abi_suffix.hpp
+++ b/indexlib/boost-compat/config/abi_suffix.h
@@ -9,10 +9,10 @@
// This header should be #included AFTER code that was preceded by a #include
// <boost/config/abi_prefix.hpp>.
-#ifndef BOOST_CONFIG_ABI_PREFIX_HPP
+#ifndef BOOST_CONFIG_ABI_PREFIX_H
# error Header boost/config/abi_prefix.hpp must only be used after boost/config/abi_prefix.hpp
#else
-# undef BOOST_CONFIG_ABI_PREFIX_HPP
+# undef BOOST_CONFIG_ABI_PREFIX_H
#endif
// the suffix header occurs after all of our code:
diff --git a/indexlib/boost-compat/config/auto_link.hpp b/indexlib/boost-compat/config/auto_link.h
index b4e580ffa..c6d9bc909 100644
--- a/indexlib/boost-compat/config/auto_link.hpp
+++ b/indexlib/boost-compat/config/auto_link.h
@@ -5,7 +5,7 @@
/*
* LOCATION: see http://www.boost.org for most recent version.
- * FILE auto_link.hpp
+ * FILE auto_link.h
* VERSION see <boost/version.hpp>
* DESCRIPTION: Automatic library inclusion for Borland/Microsoft compilers.
*/
@@ -67,7 +67,7 @@ BOOST_LIB_VERSION: The Boost version, in the form x_y, for Boost version x.y.
***************************************************************************/
#ifdef __cplusplus
-# ifndef BOOST_CONFIG_HPP
+# ifndef BOOST_CONFIG_H
# include <boost/config.hpp>
# endif
#elif defined(_MSC_VER) && !defined(__MWERKS__) && !defined(__EDG_VERSION__)
@@ -86,7 +86,7 @@ BOOST_LIB_VERSION: The Boost version, in the form x_y, for Boost version x.y.
|| (defined(__MWERKS__) && defined(_WIN32) && (__MWERKS__ >= 0x3000)) \
|| (defined(__ICL) && defined(_MSC_EXTENSIONS) && (_MSC_VER >= 1200))
-#ifndef BOOST_VERSION_HPP
+#ifndef BOOST_VERSION_H
# include <boost/version.hpp>
#endif
diff --git a/indexlib/boost-compat/config/compiler/borland.hpp b/indexlib/boost-compat/config/compiler/borland.h
index 531691eff..531691eff 100644
--- a/indexlib/boost-compat/config/compiler/borland.hpp
+++ b/indexlib/boost-compat/config/compiler/borland.h
diff --git a/indexlib/boost-compat/config/compiler/comeau.hpp b/indexlib/boost-compat/config/compiler/comeau.h
index 16a1b93cb..16a1b93cb 100644
--- a/indexlib/boost-compat/config/compiler/comeau.hpp
+++ b/indexlib/boost-compat/config/compiler/comeau.h
diff --git a/indexlib/boost-compat/config/compiler/common_edg.hpp b/indexlib/boost-compat/config/compiler/common_edg.h
index c7c0b56ee..28b164a81 100644
--- a/indexlib/boost-compat/config/compiler/common_edg.hpp
+++ b/indexlib/boost-compat/config/compiler/common_edg.h
@@ -34,7 +34,7 @@
# define BOOST_NO_TEMPLATE_TEMPLATES
#endif
-// See also kai.hpp which checks a Kai-specific symbol for EH
+// See also kai.h which checks a Kai-specific symbol for EH
# if !defined(__KCC) && !defined(__EXCEPTIONS)
# define BOOST_NO_EXCEPTIONS
# endif
diff --git a/indexlib/boost-compat/config/compiler/compaq_cxx.hpp b/indexlib/boost-compat/config/compiler/compaq_cxx.h
index 3c0c6b7ff..3c0c6b7ff 100644
--- a/indexlib/boost-compat/config/compiler/compaq_cxx.hpp
+++ b/indexlib/boost-compat/config/compiler/compaq_cxx.h
diff --git a/indexlib/boost-compat/config/compiler/digitalmars.hpp b/indexlib/boost-compat/config/compiler/digitalmars.h
index 32fc71faf..32fc71faf 100644
--- a/indexlib/boost-compat/config/compiler/digitalmars.hpp
+++ b/indexlib/boost-compat/config/compiler/digitalmars.h
diff --git a/indexlib/boost-compat/config/compiler/gcc.hpp b/indexlib/boost-compat/config/compiler/gcc.h
index 4dc3f608b..2c5ad1981 100644
--- a/indexlib/boost-compat/config/compiler/gcc.hpp
+++ b/indexlib/boost-compat/config/compiler/gcc.h
@@ -14,7 +14,7 @@
// GNU C++ compiler setup:
# if __GNUC__ == 2 && __GNUC_MINOR__ == 91
- // egcs 1.1 won't parse shared_ptr.hpp without this:
+ // egcs 1.1 won't parse shared_ptr.h without this:
# define BOOST_NO_AUTO_PTR
# endif
# if __GNUC__ == 2 && __GNUC_MINOR__ < 95
diff --git a/indexlib/boost-compat/config/compiler/greenhills.hpp b/indexlib/boost-compat/config/compiler/greenhills.h
index 038b6b2b5..038b6b2b5 100644
--- a/indexlib/boost-compat/config/compiler/greenhills.hpp
+++ b/indexlib/boost-compat/config/compiler/greenhills.h
diff --git a/indexlib/boost-compat/config/compiler/hp_acc.hpp b/indexlib/boost-compat/config/compiler/hp_acc.h
index b5c587ab7..b5c587ab7 100644
--- a/indexlib/boost-compat/config/compiler/hp_acc.hpp
+++ b/indexlib/boost-compat/config/compiler/hp_acc.h
diff --git a/indexlib/boost-compat/config/compiler/intel.hpp b/indexlib/boost-compat/config/compiler/intel.h
index 060338bcf..060338bcf 100644
--- a/indexlib/boost-compat/config/compiler/intel.hpp
+++ b/indexlib/boost-compat/config/compiler/intel.h
diff --git a/indexlib/boost-compat/config/compiler/kai.hpp b/indexlib/boost-compat/config/compiler/kai.h
index de16f1a67..fefda9ce0 100644
--- a/indexlib/boost-compat/config/compiler/kai.hpp
+++ b/indexlib/boost-compat/config/compiler/kai.h
@@ -16,7 +16,7 @@
# define BOOST_NO_STDC_NAMESPACE
# endif
-// see also common_edg.hpp which needs a special check for __KCC
+// see also common_edg.h which needs a special check for __KCC
# if !defined(_EXCEPTIONS)
# define BOOST_NO_EXCEPTIONS
# endif
diff --git a/indexlib/boost-compat/config/compiler/metrowerks.hpp b/indexlib/boost-compat/config/compiler/metrowerks.h
index a74cadef1..a74cadef1 100644
--- a/indexlib/boost-compat/config/compiler/metrowerks.hpp
+++ b/indexlib/boost-compat/config/compiler/metrowerks.h
diff --git a/indexlib/boost-compat/config/compiler/mpw.hpp b/indexlib/boost-compat/config/compiler/mpw.h
index 8ab2aacb6..8ab2aacb6 100644
--- a/indexlib/boost-compat/config/compiler/mpw.hpp
+++ b/indexlib/boost-compat/config/compiler/mpw.h
diff --git a/indexlib/boost-compat/config/compiler/sgi_mipspro.hpp b/indexlib/boost-compat/config/compiler/sgi_mipspro.h
index 689b67eeb..689b67eeb 100644
--- a/indexlib/boost-compat/config/compiler/sgi_mipspro.hpp
+++ b/indexlib/boost-compat/config/compiler/sgi_mipspro.h
diff --git a/indexlib/boost-compat/config/compiler/sunpro_cc.hpp b/indexlib/boost-compat/config/compiler/sunpro_cc.h
index 8a61199f8..80dc39131 100644
--- a/indexlib/boost-compat/config/compiler/sunpro_cc.hpp
+++ b/indexlib/boost-compat/config/compiler/sunpro_cc.h
@@ -38,7 +38,7 @@
// Requesting debug info (-g) with Boost.Python results
// in an internal compiler error for "static const"
// initialized in-class.
- // >> Assertion: (../links/dbg_cstabs.cc, line 611)
+ // >> Assertion: (../links/dbg_cstabs.cpp, line 611)
// while processing ../test.cpp at line 0.
// (Jens Maurer according to Gottfried Ganßauge 04 Mar 2002)
# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
diff --git a/indexlib/boost-compat/config/compiler/vacpp.hpp b/indexlib/boost-compat/config/compiler/vacpp.h
index 4cf0de7c1..4cf0de7c1 100644
--- a/indexlib/boost-compat/config/compiler/vacpp.hpp
+++ b/indexlib/boost-compat/config/compiler/vacpp.h
diff --git a/indexlib/boost-compat/config/compiler/visualc.hpp b/indexlib/boost-compat/config/compiler/visualc.h
index 323532603..323532603 100644
--- a/indexlib/boost-compat/config/compiler/visualc.hpp
+++ b/indexlib/boost-compat/config/compiler/visualc.h
diff --git a/indexlib/boost-compat/config/platform/aix.hpp b/indexlib/boost-compat/config/platform/aix.h
index 894ef42ce..894ef42ce 100644
--- a/indexlib/boost-compat/config/platform/aix.hpp
+++ b/indexlib/boost-compat/config/platform/aix.h
diff --git a/indexlib/boost-compat/config/platform/amigaos.hpp b/indexlib/boost-compat/config/platform/amigaos.h
index 34bcf4128..34bcf4128 100644
--- a/indexlib/boost-compat/config/platform/amigaos.hpp
+++ b/indexlib/boost-compat/config/platform/amigaos.h
diff --git a/indexlib/boost-compat/config/platform/beos.hpp b/indexlib/boost-compat/config/platform/beos.h
index 48c3d8dc5..48c3d8dc5 100644
--- a/indexlib/boost-compat/config/platform/beos.hpp
+++ b/indexlib/boost-compat/config/platform/beos.h
diff --git a/indexlib/boost-compat/config/platform/bsd.hpp b/indexlib/boost-compat/config/platform/bsd.h
index 4f04ed2a0..4f04ed2a0 100644
--- a/indexlib/boost-compat/config/platform/bsd.hpp
+++ b/indexlib/boost-compat/config/platform/bsd.h
diff --git a/indexlib/boost-compat/config/platform/cygwin.hpp b/indexlib/boost-compat/config/platform/cygwin.h
index 0fd2ebe2d..0fd2ebe2d 100644
--- a/indexlib/boost-compat/config/platform/cygwin.hpp
+++ b/indexlib/boost-compat/config/platform/cygwin.h
diff --git a/indexlib/boost-compat/config/platform/hpux.hpp b/indexlib/boost-compat/config/platform/hpux.h
index 21049059e..21049059e 100644
--- a/indexlib/boost-compat/config/platform/hpux.hpp
+++ b/indexlib/boost-compat/config/platform/hpux.h
diff --git a/indexlib/boost-compat/config/platform/irix.hpp b/indexlib/boost-compat/config/platform/irix.h
index aeae49c8b..aeae49c8b 100644
--- a/indexlib/boost-compat/config/platform/irix.hpp
+++ b/indexlib/boost-compat/config/platform/irix.h
diff --git a/indexlib/boost-compat/config/platform/linux.hpp b/indexlib/boost-compat/config/platform/linux.h
index 51ae13347..51ae13347 100644
--- a/indexlib/boost-compat/config/platform/linux.hpp
+++ b/indexlib/boost-compat/config/platform/linux.h
diff --git a/indexlib/boost-compat/config/platform/macos.hpp b/indexlib/boost-compat/config/platform/macos.h
index 3a5f41303..3a5f41303 100644
--- a/indexlib/boost-compat/config/platform/macos.hpp
+++ b/indexlib/boost-compat/config/platform/macos.h
diff --git a/indexlib/boost-compat/config/platform/solaris.hpp b/indexlib/boost-compat/config/platform/solaris.h
index 700dc3ce6..700dc3ce6 100644
--- a/indexlib/boost-compat/config/platform/solaris.hpp
+++ b/indexlib/boost-compat/config/platform/solaris.h
diff --git a/indexlib/boost-compat/config/platform/win32.hpp b/indexlib/boost-compat/config/platform/win32.h
index 548bff280..548bff280 100644
--- a/indexlib/boost-compat/config/platform/win32.hpp
+++ b/indexlib/boost-compat/config/platform/win32.h
diff --git a/indexlib/boost-compat/config/posix_features.hpp b/indexlib/boost-compat/config/posix_features.h
index 4afb476b7..4afb476b7 100644
--- a/indexlib/boost-compat/config/posix_features.hpp
+++ b/indexlib/boost-compat/config/posix_features.h
diff --git a/indexlib/boost-compat/config/requires_threads.hpp b/indexlib/boost-compat/config/requires_threads.h
index cfaff2302..03259ae93 100644
--- a/indexlib/boost-compat/config/requires_threads.hpp
+++ b/indexlib/boost-compat/config/requires_threads.h
@@ -4,10 +4,10 @@
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-#ifndef BOOST_CONFIG_REQUIRES_THREADS_HPP
-#define BOOST_CONFIG_REQUIRES_THREADS_HPP
+#ifndef BOOST_CONFIG_REQUIRES_THREADS_H
+#define BOOST_CONFIG_REQUIRES_THREADS_H
-#ifndef BOOST_CONFIG_HPP
+#ifndef BOOST_CONFIG_H
# include <boost/config.hpp>
#endif
@@ -89,4 +89,4 @@
#endif // BOOST_HAS_THREADS
-#endif // BOOST_CONFIG_REQUIRES_THREADS_HPP
+#endif // BOOST_CONFIG_REQUIRES_THREADS_H
diff --git a/indexlib/boost-compat/config/select_compiler_config.hpp b/indexlib/boost-compat/config/select_compiler_config.h
index 3453f1a35..3453f1a35 100644
--- a/indexlib/boost-compat/config/select_compiler_config.hpp
+++ b/indexlib/boost-compat/config/select_compiler_config.h
diff --git a/indexlib/boost-compat/config/select_platform_config.hpp b/indexlib/boost-compat/config/select_platform_config.h
index 5699b2a2a..5699b2a2a 100644
--- a/indexlib/boost-compat/config/select_platform_config.hpp
+++ b/indexlib/boost-compat/config/select_platform_config.h
diff --git a/indexlib/boost-compat/config/select_stdlib_config.hpp b/indexlib/boost-compat/config/select_stdlib_config.h
index b7bf59143..b7bf59143 100644
--- a/indexlib/boost-compat/config/select_stdlib_config.hpp
+++ b/indexlib/boost-compat/config/select_stdlib_config.h
diff --git a/indexlib/boost-compat/config/stdlib/dinkumware.hpp b/indexlib/boost-compat/config/stdlib/dinkumware.h
index aa214fc1b..aa214fc1b 100644
--- a/indexlib/boost-compat/config/stdlib/dinkumware.hpp
+++ b/indexlib/boost-compat/config/stdlib/dinkumware.h
diff --git a/indexlib/boost-compat/config/stdlib/libcomo.hpp b/indexlib/boost-compat/config/stdlib/libcomo.h
index b2c8e4400..b2c8e4400 100644
--- a/indexlib/boost-compat/config/stdlib/libcomo.hpp
+++ b/indexlib/boost-compat/config/stdlib/libcomo.h
diff --git a/indexlib/boost-compat/config/stdlib/libstdcpp3.hpp b/indexlib/boost-compat/config/stdlib/libstdcpp3.h
index 9774e8761..99e711ce4 100644
--- a/indexlib/boost-compat/config/stdlib/libstdcpp3.hpp
+++ b/indexlib/boost-compat/config/stdlib/libstdcpp3.h
@@ -45,7 +45,7 @@
#if !defined(_GLIBCPP_USE_LONG_LONG) \
&& !defined(_GLIBCXX_USE_LONG_LONG)\
&& defined(BOOST_HAS_LONG_LONG)
-// May have been set by compiler/*.hpp, but "long long" without library
+// May have been set by compiler/*.h, but "long long" without library
// support is useless.
# undef BOOST_HAS_LONG_LONG
#endif
diff --git a/indexlib/boost-compat/config/stdlib/modena.hpp b/indexlib/boost-compat/config/stdlib/modena.h
index 61e31b7d1..61e31b7d1 100644
--- a/indexlib/boost-compat/config/stdlib/modena.hpp
+++ b/indexlib/boost-compat/config/stdlib/modena.h
diff --git a/indexlib/boost-compat/config/stdlib/msl.hpp b/indexlib/boost-compat/config/stdlib/msl.h
index f8ad3d9ad..f8ad3d9ad 100644
--- a/indexlib/boost-compat/config/stdlib/msl.hpp
+++ b/indexlib/boost-compat/config/stdlib/msl.h
diff --git a/indexlib/boost-compat/config/stdlib/roguewave.hpp b/indexlib/boost-compat/config/stdlib/roguewave.h
index ec3d881b5..ec3d881b5 100644
--- a/indexlib/boost-compat/config/stdlib/roguewave.hpp
+++ b/indexlib/boost-compat/config/stdlib/roguewave.h
diff --git a/indexlib/boost-compat/config/stdlib/sgi.hpp b/indexlib/boost-compat/config/stdlib/sgi.h
index 67f7a0a4b..67f7a0a4b 100644
--- a/indexlib/boost-compat/config/stdlib/sgi.hpp
+++ b/indexlib/boost-compat/config/stdlib/sgi.h
diff --git a/indexlib/boost-compat/config/stdlib/stlport.hpp b/indexlib/boost-compat/config/stdlib/stlport.h
index 4843ea59b..4843ea59b 100644
--- a/indexlib/boost-compat/config/stdlib/stlport.hpp
+++ b/indexlib/boost-compat/config/stdlib/stlport.h
diff --git a/indexlib/boost-compat/config/stdlib/vacpp.hpp b/indexlib/boost-compat/config/stdlib/vacpp.h
index 8321ee0cc..8321ee0cc 100644
--- a/indexlib/boost-compat/config/stdlib/vacpp.hpp
+++ b/indexlib/boost-compat/config/stdlib/vacpp.h
diff --git a/indexlib/boost-compat/config/suffix.hpp b/indexlib/boost-compat/config/suffix.h
index 77d9decac..313faea9b 100644
--- a/indexlib/boost-compat/config/suffix.hpp
+++ b/indexlib/boost-compat/config/suffix.h
@@ -1,4 +1,4 @@
-// Boost config.hpp configuration header file ------------------------------//
+// Boost config.h configuration header file ------------------------------//
// (C) Copyright John Maddock 2001 - 2003.
// (C) Copyright Darin Adler 2001.
@@ -14,15 +14,15 @@
// See http://www.boost.org for most recent version.
-// Boost config.hpp policy and rationale documentation has been moved to
+// Boost config.h policy and rationale documentation has been moved to
// http://www.boost.org/libs/config
//
// This file is intended to be stable, and relatively unchanging.
// It should contain boilerplate code only - no compiler specific
// code unless it is unavoidable - no changes unless unavoidable.
-#ifndef BOOST_CONFIG_SUFFIX_HPP
-#define BOOST_CONFIG_SUFFIX_HPP
+#ifndef BOOST_CONFIG_SUFFIX_H
+#define BOOST_CONFIG_SUFFIX_H
//
// look for long long by looking for the appropriate macros in <limits.h>.
diff --git a/indexlib/boost-compat/config/user.hpp b/indexlib/boost-compat/config/user.h
index 5a4a9d477..14b02c670 100644
--- a/indexlib/boost-compat/config/user.hpp
+++ b/indexlib/boost-compat/config/user.h
@@ -1,4 +1,4 @@
-// boost/config/user.hpp ---------------------------------------------------//
+// boost/config/user.h ---------------------------------------------------//
// (C) Copyright John Maddock 2001.
// Use, modification and distribution are subject to the
diff --git a/indexlib/boost-compat/intrusive_ptr.hpp b/indexlib/boost-compat/intrusive_ptr.h
index 7efbadeea..39b4b7b24 100644
--- a/indexlib/boost-compat/intrusive_ptr.hpp
+++ b/indexlib/boost-compat/intrusive_ptr.h
@@ -1,8 +1,8 @@
-#ifndef BOOST_INTRUSIVE_PTR_HPP_INCLUDED
-#define BOOST_INTRUSIVE_PTR_HPP_INCLUDED
+#ifndef BOOST_INTRUSIVE_PTR_H_INCLUDED
+#define BOOST_INTRUSIVE_PTR_H_INCLUDED
//
-// intrusive_ptr.hpp
+// intrusive_ptr.h
//
// Copyright (c) 2001, 2002 Peter Dimov
//
@@ -269,4 +269,4 @@ template<class E, class T, class Y> std::basic_ostream<E, T> & operator<< (std::
# pragma warning(pop)
#endif
-#endif // #ifndef BOOST_INTRUSIVE_PTR_HPP_INCLUDED
+#endif // #ifndef BOOST_INTRUSIVE_PTR_H_INCLUDED
diff --git a/indexlib/boost-compat/next_prior.hpp b/indexlib/boost-compat/next_prior.h
index e1d2e4289..cdacf29c7 100644
--- a/indexlib/boost-compat/next_prior.hpp
+++ b/indexlib/boost-compat/next_prior.h
@@ -1,4 +1,4 @@
-// Boost next_prior.hpp header file ---------------------------------------//
+// Boost next_prior.h header file ---------------------------------------//
// (C) Copyright Dave Abrahams and Daniel Walker 1999-2003. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
@@ -9,8 +9,8 @@
// Revision History
// 13 Dec 2003 Added next(x, n) and prior(x, n) (Daniel Walker)
-#ifndef BOOST_NEXT_PRIOR_HPP_INCLUDED
-#define BOOST_NEXT_PRIOR_HPP_INCLUDED
+#ifndef BOOST_NEXT_PRIOR_H_INCLUDED
+#define BOOST_NEXT_PRIOR_H_INCLUDED
#include <iterator>
@@ -48,4 +48,4 @@ inline T prior(T x, Distance n)
} // namespace boost
-#endif // BOOST_NEXT_PRIOR_HPP_INCLUDED
+#endif // BOOST_NEXT_PRIOR_H_INCLUDED
diff --git a/indexlib/boost-compat/noncopyable.hpp b/indexlib/boost-compat/noncopyable.h
index 7770bdbd3..0d94ea6af 100644
--- a/indexlib/boost-compat/noncopyable.hpp
+++ b/indexlib/boost-compat/noncopyable.h
@@ -1,4 +1,4 @@
-// Boost noncopyable.hpp header file --------------------------------------//
+// Boost noncopyable.h header file --------------------------------------//
// (C) Copyright Beman Dawes 1999-2003. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
@@ -6,8 +6,8 @@
// See http://www.boost.org/libs/utility for documentation.
-#ifndef BOOST_NONCOPYABLE_HPP_INCLUDED
-#define BOOST_NONCOPYABLE_HPP_INCLUDED
+#ifndef BOOST_NONCOPYABLE_H_INCLUDED
+#define BOOST_NONCOPYABLE_H_INCLUDED
namespace boost {
@@ -33,4 +33,4 @@ typedef noncopyable_::noncopyable noncopyable;
} // namespace boost
-#endif // BOOST_NONCOPYABLE_HPP_INCLUDED
+#endif // BOOST_NONCOPYABLE_H_INCLUDED
diff --git a/indexlib/boost-compat/remove_cv.hpp b/indexlib/boost-compat/remove_cv.h
index ec7c1a956..c59970a81 100644
--- a/indexlib/boost-compat/remove_cv.hpp
+++ b/indexlib/boost-compat/remove_cv.h
@@ -1,7 +1,7 @@
-#ifndef BOOST_TT_REMOVE_CV_HPP_INCLUDED
-#define BOOST_TT_REMOVE_CV_HPP_INCLUDED
-#ifndef BOOST_TT_DETAIL_CV_TRAITS_IMPL_HPP_INCLUDED
-#define BOOST_TT_DETAIL_CV_TRAITS_IMPL_HPP_INCLUDED
+#ifndef BOOST_TT_REMOVE_CV_H_INCLUDED
+#define BOOST_TT_REMOVE_CV_H_INCLUDED
+#ifndef BOOST_TT_DETAIL_CV_TRAITS_IMPL_H_INCLUDED
+#define BOOST_TT_DETAIL_CV_TRAITS_IMPL_H_INCLUDED
// ADAPTED (TAKEN) FROM BOOST
//
// (C) Copyright Dave Abrahams, Steve Cleary, Beman Dawes, Howard
diff --git a/indexlib/boost-compat/scoped_ptr.hpp b/indexlib/boost-compat/scoped_ptr.h
index 1260066ad..60078bf1a 100644
--- a/indexlib/boost-compat/scoped_ptr.hpp
+++ b/indexlib/boost-compat/scoped_ptr.h
@@ -1,5 +1,5 @@
-#ifndef BOOST_SCOPED_PTR_HPP_INCLUDED
-#define BOOST_SCOPED_PTR_HPP_INCLUDED
+#ifndef BOOST_SCOPED_PTR_H_INCLUDED
+#define BOOST_SCOPED_PTR_H_INCLUDED
// ADAPTED FOR indexlib
@@ -13,7 +13,7 @@
// http://www.boost.org/libs/smart_ptr/scoped_ptr.htm
//
-#include "checked_delete.hpp"
+#include "checked_delete.h"
#include <memory> // for std::auto_ptr
#include <assert.h>
@@ -115,4 +115,4 @@ template<class T> inline T * get_pointer(scoped_ptr<T> const & p)
} // namespace boost
-#endif // #ifndef BOOST_SCOPED_PTR_HPP_INCLUDED
+#endif // #ifndef BOOST_SCOPED_PTR_H_INCLUDED
diff --git a/indexlib/boost-compat/shared_ptr.hpp b/indexlib/boost-compat/shared_ptr.h
index 0a3bf6d86..c236e3bd7 100644
--- a/indexlib/boost-compat/shared_ptr.hpp
+++ b/indexlib/boost-compat/shared_ptr.h
@@ -1,8 +1,8 @@
-#ifndef BOOST_SHARED_PTR_HPP_INCLUDED
-#define BOOST_SHARED_PTR_HPP_INCLUDED
+#ifndef BOOST_SHARED_PTR_H_INCLUDED
+#define BOOST_SHARED_PTR_H_INCLUDED
//
-// shared_ptr.hpp
+// shared_ptr.h
//
// (C) Copyright Greg Colvin and Beman Dawes 1998, 1999.
// Copyright (c) 2001, 2002, 2003 Peter Dimov
@@ -470,4 +470,4 @@ template<class D, class T> D * get_deleter(shared_ptr<T> const & p)
#endif // #if defined(BOOST_NO_MEMBER_TEMPLATES) && !defined(BOOST_MSVC6_MEMBER_TEMPLATES)
-#endif // #ifndef BOOST_SHARED_PTR_HPP_INCLUDED
+#endif // #ifndef BOOST_SHARED_PTR_H_INCLUDED
diff --git a/indexlib/boost-compat/smart_ptr.hpp b/indexlib/boost-compat/smart_ptr.h
index c10de4572..578a48e4b 100644
--- a/indexlib/boost-compat/smart_ptr.hpp
+++ b/indexlib/boost-compat/smart_ptr.h
@@ -1,8 +1,8 @@
-#ifndef LPC_SMART_PTR_HPP1119293317_INCLUDE_GUARD_
-#define LPC_SMART_PTR_HPP1119293317_INCLUDE_GUARD_
+#ifndef LPC_SMART_PTR_H1119293317_INCLUDE_GUARD_
+#define LPC_SMART_PTR_H1119293317_INCLUDE_GUARD_
//
-// smart_ptr.hpp
+// smart_ptr.h
//
// For convenience, this header includes the rest of the smart
// pointer library headers.
@@ -28,4 +28,4 @@
#endif
-#endif /* LPC_SMART_PTR_HPP1119293317_INCLUDE_GUARD_ */
+#endif /* LPC_SMART_PTR_H1119293317_INCLUDE_GUARD_ */
diff --git a/indexlib/boost-compat/static_assert.h b/indexlib/boost-compat/static_assert.h
new file mode 100644
index 000000000..1d020c9fd
--- /dev/null
+++ b/indexlib/boost-compat/static_assert.h
@@ -0,0 +1,11 @@
+#ifndef LPC_STATIC_ASSERT_H1119293317_INCLUDE_GUARD_
+#define LPC_STATIC_ASSERT_H1119293317_INCLUDE_GUARD_
+
+#ifdef HAVE_BOOST
+#include <boost/static_assert.hpp>
+#elif !defined( BOOST_STATIC_ASSERT )
+#define BOOST_STATIC_ASSERT( x )
+#endif
+
+
+#endif /* LPC_STATIC_ASSERT_H1119293317_INCLUDE_GUARD_ */
diff --git a/indexlib/boost-compat/static_assert.hpp b/indexlib/boost-compat/static_assert.hpp
deleted file mode 100644
index 76de9c49b..000000000
--- a/indexlib/boost-compat/static_assert.hpp
+++ /dev/null
@@ -1,11 +0,0 @@
-#ifndef LPC_STATIC_ASSERT_HPP1119293317_INCLUDE_GUARD_
-#define LPC_STATIC_ASSERT_HPP1119293317_INCLUDE_GUARD_
-
-#ifdef HAVE_BOOST
-#include <boost/static_assert.hpp>
-#elif !defined( BOOST_STATIC_ASSERT )
-#define BOOST_STATIC_ASSERT( x )
-#endif
-
-
-#endif /* LPC_STATIC_ASSERT_HPP1119293317_INCLUDE_GUARD_ */
diff --git a/indexlib/boost-compat/weak_ptr.hpp b/indexlib/boost-compat/weak_ptr.h
index c23850079..338e52213 100644
--- a/indexlib/boost-compat/weak_ptr.hpp
+++ b/indexlib/boost-compat/weak_ptr.h
@@ -1,8 +1,8 @@
-#ifndef BOOST_WEAK_PTR_HPP_INCLUDED
-#define BOOST_WEAK_PTR_HPP_INCLUDED
+#ifndef BOOST_WEAK_PTR_H_INCLUDED
+#define BOOST_WEAK_PTR_H_INCLUDED
//
-// weak_ptr.hpp
+// weak_ptr.h
//
// Copyright (c) 2001, 2002, 2003 Peter Dimov
//
@@ -189,4 +189,4 @@ template<class T> shared_ptr<T> make_shared(weak_ptr<T> const & r)
# pragma warning(pop)
#endif
-#endif // #ifndef BOOST_WEAK_PTR_HPP_INCLUDED
+#endif // #ifndef BOOST_WEAK_PTR_H_INCLUDED
diff --git a/indexlib/configure.in.in b/indexlib/configure.in.in
index 1f1a806a4..b66b049c3 100644
--- a/indexlib/configure.in.in
+++ b/indexlib/configure.in.in
@@ -19,4 +19,4 @@ if test "x$have_boost" = "xyes"; then
CXXFLAGS="-DHAVE_BOOST $CXXFLAGS"
fi
- \ No newline at end of file
+
diff --git a/indexlib/ifile.cpp b/indexlib/ifile.cpp
index b71297a0d..5709bb418 100644
--- a/indexlib/ifile.cpp
+++ b/indexlib/ifile.cpp
@@ -39,7 +39,7 @@
#include <functional>
#include <string.h>
#include "format.h"
-#include "boost-compat/next_prior.hpp"
+#include "boost-compat/next_prior.h"
ifile::ifile( std::string name ):
diff --git a/indexlib/index_slow.h b/indexlib/index_slow.h
index bbb4f7b7c..6f1dccedc 100644
--- a/indexlib/index_slow.h
+++ b/indexlib/index_slow.h
@@ -34,7 +34,7 @@
#include "index.h"
#include "slow.h"
-#include "boost-compat/noncopyable.hpp"
+#include "boost-compat/noncopyable.h"
/**
* \see class slow which should be merged into this one.
diff --git a/indexlib/leafdata.cpp b/indexlib/leafdata.cpp
index db61119af..c88821569 100644
--- a/indexlib/leafdata.cpp
+++ b/indexlib/leafdata.cpp
@@ -33,7 +33,7 @@
#include "logfile.h"
#include <iostream>
#include <algorithm>
-#include "boost-compat/next_prior.hpp"
+#include "boost-compat/next_prior.h"
#include "format.h"
namespace {
diff --git a/indexlib/memvector.h b/indexlib/memvector.h
index 446fddf92..feb96268c 100644
--- a/indexlib/memvector.h
+++ b/indexlib/memvector.h
@@ -35,8 +35,8 @@
#include "bitio.h"
#include "compat.h"
#include "manager.h"
-#include "boost-compat/static_assert.hpp"
-#include "boost-compat/scoped_ptr.hpp"
+#include "boost-compat/static_assert.h"
+#include "boost-compat/scoped_ptr.h"
#ifdef HAVE_BOOST
#include <boost/type_traits/is_convertible.hpp>
#endif
diff --git a/indexlib/pointer.h b/indexlib/pointer.h
index 707219184..336ede764 100644
--- a/indexlib/pointer.h
+++ b/indexlib/pointer.h
@@ -34,7 +34,7 @@
#include <inttypes.h>
#include <iostream>
-#include "boost-compat/static_assert.hpp"
+#include "boost-compat/static_assert.h"
#ifdef HAVE_BOOST
#include <boost/type_traits.hpp>
#endif
diff --git a/indexlib/stringarray.h b/indexlib/stringarray.h
index a928db311..6202036ce 100644
--- a/indexlib/stringarray.h
+++ b/indexlib/stringarray.h
@@ -34,7 +34,7 @@
#include <iostream>
#include <string>
-#include "boost-compat/scoped_ptr.hpp"
+#include "boost-compat/scoped_ptr.h"
#include "manager.h"
#include "memvector.h"