fix for building with gcc/g++ 4.7.x

http://gcc.gnu.org/gcc-4.7/porting_to.html

Header dependency changes:

Socket.cpp: In member function ‘void openbfdd::Socket::Close()’:
Socket.cpp:151:7: error: ‘::close’ has not been declared
Socket.cpp: In member function ‘void openbfdd::Socket::AlwaysClose()’:
Socket.cpp:158:7: error: ‘::close’ has not been declared
make: *** [Socket.o] Error 1
fix for building with gcc/g++ 4.7.x

    http://gcc.gnu.org/gcc-4.7/porting_to.html
    Header dependency changes

BeaconMain.cpp: In function ‘int main(int, char**)’:
BeaconMain.cpp:56:23: error: ‘daemon’ was not declared in this scope
BeaconMain.cpp:74:66: error: ‘getpid’ was not declared in this scope
fix for building with gcc/g++ 4.7.x

http://gcc.gnu.org/gcc-4.7/porting_to.html

User-defined literals and whitespace

CommandProcessor.cpp: In member function ‘bool openbfdd::CommandProcessorImp::initListening()’:
CommandProcessor.cpp:192:48: error: unable to find string literal operator ‘operator"" PRIu16’
CommandProcessor.cpp: In member function ‘void openbfdd::CommandProcessorImp::handle_Test(const char*)’:
CommandProcessor.cpp:2001:42: error: unable to find string literal operator ‘operator"" PRIi64’
CommandProcessor.cpp:2016:41: error: unable to find string literal operator ‘operator"" PRIi64’
CommandProcessor.cpp:2037:45: error: unable to find string literal operator ‘operator"" PRIi64’
CommandProcessor.cpp:2039:45: error: unable to find string literal operator ‘operator"" PRIi64’
fix for building with gcc/g++ 4.7.x

    http://gcc.gnu.org/gcc-4.7/porting_to.html

    User-defined literals and whitespace

SchedulerBase.cpp: In member function ‘bool openbfdd::TimerImpl::setExpireTime(const timespec&, uint64_t)’:
SchedulerBase.cpp:208:9: error: unable to find string literal operator ‘operator"" PRIu64’
SchedulerBase.cpp:212:7: error: unable to find string literal operator ‘operator"" PRIu64’

    Header dependency changes

SchedulerBase.cpp: In destructor ‘virtual openbfdd::SchedulerBase::~SchedulerBase()’:
SchedulerBase.cpp:309:7: error: ‘::close’ has not been declared
SchedulerBase.cpp:310:7: error: ‘::close’ has not been declared
SchedulerBase.cpp: In member function ‘virtual bool openbfdd::SchedulerBase::Run()’:
SchedulerBase.cpp:385:37: error: ‘::read’ has not been declared
SchedulerBase.cpp: In member function ‘virtual bool openbfdd::SchedulerBase::CreateSignalChannel(int*, openbfdd::Scheduler::SignalCallback, void*)’:
SchedulerBase.cpp:557:26: error: ‘pipe’ was not declared in this scope
SchedulerBase.cpp: In member function ‘virtual bool openbfdd::SchedulerBase::Signal(int)’:
SchedulerBase.cpp:609:14: error: ‘::write’ has not been declared
SchedulerBase.cpp: In member function ‘virtual void openbfdd::SchedulerBase::RemoveSignalChannel(int)’:
SchedulerBase.cpp:633:9: error: ‘::close’ has not been declared
SchedulerBase.cpp:634:9: error: ‘::close’ has not been declared
fix for building with gcc/g++ 4.7.x

    http://gcc.gnu.org/gcc-4.7/porting_to.html

    User-defined literals and whitespace

Session.cpp: In member function ‘bool openbfdd::Session::ensureSendSocket()’:
Session.cpp:979:68: error: unable to find string literal operator ‘operator"" PRIu32’
fix for building with gcc/g++ 4.7.x

http://gcc.gnu.org/gcc-4.7/porting_to.html

Header dependency changes

bfdd-control.cpp: In function ‘int openbfdd::bfdMain(int, char**)’:
bfdd-control.cpp:209:50: error: ‘getpid’ was not declared in this scope