MFH: r560305

net/ns3: fix build on GCC architectures

../src/test/ns3tc/fq-codel-queue-disc-test-suite.cc:555:125: error: 'u_int32_t' has not been declared
  555 | FqCoDelQueueDiscECNMarking::AddPacket (Ptr<FqCoDelQueueDisc> queue, Ipv4Header hdr, u_int32_t nPkt, u_int32_t nPktEnqueued, u_int32_t nQueueFlows)
This commit is contained in:
Piotr Kubaj 2021-01-04 16:09:47 +00:00
parent a44b8f1461
commit e4953093dc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2021Q1/; revision=560306

View File

@ -0,0 +1,18 @@
--- src/test/ns3tc/fq-codel-queue-disc-test-suite.cc.orig 2021-01-04 15:32:24 UTC
+++ src/test/ns3tc/fq-codel-queue-disc-test-suite.cc
@@ -35,6 +35,8 @@
#include "ns3/string.h"
#include "ns3/pointer.h"
+#include <sys/types.h>
+
using namespace ns3;
// Variable to assign hash to a new packet's flow
@@ -1125,4 +1127,4 @@ FqCoDelQueueDiscTestSuite::FqCoDelQueueDiscTestSuite (
AddTestCase (new FqCoDelQueueDiscL4sMode, TestCase::QUICK);
}
-static FqCoDelQueueDiscTestSuite fqCoDelQueueDiscTestSuite;
\ No newline at end of file
+static FqCoDelQueueDiscTestSuite fqCoDelQueueDiscTestSuite;