From: Mathias Froehlich Date: Sat, 9 Feb 2013 07:53:34 +0000 (+0100) Subject: fix compile with fgai X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7178dd7f9e9ac447ea4d0548d507fca69927d663;p=flightgear.git fix compile with fgai --- diff --git a/utils/fgai/fgai.cxx b/utils/fgai/fgai.cxx index f720b5dc3..4948693d4 100644 --- a/utils/fgai/fgai.cxx +++ b/utils/fgai/fgai.cxx @@ -18,7 +18,10 @@ #include #endif +#include + #include +#include #include "AIObject.hxx" #include "AIManager.hxx" @@ -547,8 +550,8 @@ main(int argc, char* argv[]) manager->setFederationObjectModel(optarg); break; case 'p': - logbuf::set_log_classes(SG_ALL); - logbuf::set_log_priority(sgDebugPriority(atoi(optarg))); + sglog().set_log_classes(SG_ALL); + sglog().set_log_priority(sgDebugPriority(atoi(optarg))); break; case 'R': manager->setTimeRegulating(true);