diff --git a/src/applications/wscript b/src/applications/wscript index 0874d58ab..5a9c76f50 100644 --- a/src/applications/wscript +++ b/src/applications/wscript @@ -8,6 +8,7 @@ def build(bld): obj.source = [ 'onoff-application.cc', ] + obj.includes = '.' headers = bld.create_obj('ns3header') headers.source = [ diff --git a/src/common/wscript b/src/common/wscript index 6efd5bfc9..8f2518d4c 100644 --- a/src/common/wscript +++ b/src/common/wscript @@ -24,6 +24,8 @@ def build(bld): 'trace-root.cc', 'data-rate.cc', ] + common.includes = '.' + headers = bld.create_obj('ns3header') headers.source = [ 'buffer.h', diff --git a/src/core/wscript b/src/core/wscript index 6e3f8cdbd..03753908b 100644 --- a/src/core/wscript +++ b/src/core/wscript @@ -38,6 +38,7 @@ def build(bld): 'type-name.cc', 'component-manager.cc', ] + core.includes = '.' if sys.platform == 'win32': core.source.extend([ diff --git a/src/devices/p2p/wscript b/src/devices/p2p/wscript index 73b27d061..639420dc7 100644 --- a/src/devices/p2p/wscript +++ b/src/devices/p2p/wscript @@ -11,6 +11,8 @@ def build(bld): 'p2p-channel.cc', 'p2p-topology.cc', ] + p2p.includes = '.' + headers = bld.create_obj('ns3header') headers.source = [ 'p2p-net-device.h', diff --git a/src/internet-node/wscript b/src/internet-node/wscript index bf3236159..cf412d6c8 100644 --- a/src/internet-node/wscript +++ b/src/internet-node/wscript @@ -34,6 +34,7 @@ def build(bld): 'pcap-trace.cc', 'udp-impl.cc', ] + obj.includes = '.' headers = bld.create_obj('ns3header') headers.source = [ diff --git a/src/node/wscript b/src/node/wscript index 18419e1df..0a5c64aa9 100644 --- a/src/node/wscript +++ b/src/node/wscript @@ -22,6 +22,7 @@ def build(bld): 'ipv4.cc', 'application.cc', ] + node.includes = '.' headers = bld.create_obj('ns3header') headers.source = [ diff --git a/src/simulator/wscript b/src/simulator/wscript index a940cd25a..b77ded840 100644 --- a/src/simulator/wscript +++ b/src/simulator/wscript @@ -64,6 +64,8 @@ def build(bld): 'event-impl.cc', 'simulator.cc', ] + sim.includes = '.' + headers = bld.create_obj('ns3header') headers.source = [ 'high-precision.h',