From 7178dd7f9e9ac447ea4d0548d507fca69927d663 Mon Sep 17 00:00:00 2001 From: Mathias Froehlich Date: Sat, 9 Feb 2013 08:53:34 +0100 Subject: [PATCH] fix compile with fgai --- utils/fgai/fgai.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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);