]> git.lyx.org Git - lyx.git/blobdiff - src/support/bind.h
improve language flag for Objective-C compiler call
[lyx.git] / src / support / bind.h
index 3a0837e80e4f969db474d1bce8a9a76b7b509e87..efd3267de5ceb17667e94ed351b114d447ebf368 100644 (file)
 #ifndef LYX_BIND_H
 #define LYX_BIND_H
 
-#include "config.h"
-
+#include "support/functional.h"
 
 #ifdef LYX_USE_TR1
 
-#include <functional>
-
-#ifdef __GNUC__
-#include <tr1/functional>
-#endif
-
 namespace lyx
 {
        using std::tr1::bind;
@@ -33,7 +26,7 @@ namespace lyx
 
 #else
 
-#include "boost/bind.hpp"
+#include <boost/bind.hpp>
 
 namespace lyx
 {