Adding required PTHREAD dependency to RT library check. Adding missing include to ipv6-address.cc

This commit is contained in:
Alexander Afanasyev
2011-10-06 10:42:21 -07:00
parent 9da04bf971
commit 30e6359e85
2 changed files with 2 additions and 1 deletions

View File

@@ -82,7 +82,7 @@ int main ()
conf.check_nonfatal(header_name='sys/inttypes.h', define_name='HAVE_SYS_INT_TYPES_H')
if not conf.check_nonfatal(lib='rt', uselib_store='RT', define_name='HAVE_RT'):
if not conf.check_nonfatal(lib='rt', uselib='RT, PTHREAD', define_name='HAVE_RT'):
conf.report_optional_feature("RealTime", "Real Time Simulator",
False, "librt is not available")
else:

View File

@@ -19,6 +19,7 @@
*/
#include <iomanip>
#include <memory.h>
#include "ns3/log.h"
#include "ns3/assert.h"