mirror of
https://git.freebsd.org/ports.git
synced 2025-05-01 02:56:39 -04:00
../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) MFH: 2020Q1
18 lines
602 B
C++
18 lines
602 B
C++
--- 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;
|