#ifndef LYX_BIND_H
#define LYX_BIND_H
-#include "checktr1.h"
-
+#include "support/functional.h"
#ifdef LYX_USE_TR1
-#include <functional>
-
-#ifdef __GNUC__
-#include <tr1/functional>
-#endif
-
namespace lyx
{
using std::tr1::bind;
#else
-#include "boost/bind.hpp"
+#include <boost/bind.hpp>
namespace lyx
{