X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmain.cpp;h=11f91d3f55e76d9b744498481e6330c4f3dd6fd0;hb=0362c6aae73c293d1c20277c12d362acfe0b2ef6;hp=41ce51a772e85d57823e1bffbf252753f1986b6a;hpb=9d0ea8aeff32833a90b3fe64df0c5518a9e241be;p=lyx.git diff --git a/src/main.cpp b/src/main.cpp index 41ce51a772..11f91d3f55 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -11,10 +11,10 @@ #include -#include "support/debug.h" #include "LyX.h" -#include "support/gettext.h" +#include "support/debug.h" +#include "support/gettext.h" #include "support/os.h" #include @@ -22,16 +22,19 @@ #include #endif +using namespace std; + + int main(int argc, char * argv[]) { #ifdef HAVE_IOS - std::ios_base::sync_with_stdio(false); + ios_base::sync_with_stdio(false); #endif // To avoid ordering of global object problems with some // stdlibs we do the initialization here, but still as // early as possible. - lyx::lyxerr.setStream(std::cerr); + lyx::lyxerr.setStream(cerr); lyx::support::os::init(argc, argv);