openbsd-ports/net/ns/patches/patch-imep_rxmit_queue_h
sturm 0caceb1c87 update to ns 2.26
note: this is not 64bit clean as this would require a minor rewrite of ns

from Nicolas Baldi <openbsd@softhome.net>
2003-11-01 20:05:01 +00:00

24 lines
585 B
Plaintext

$OpenBSD: patch-imep_rxmit_queue_h,v 1.2 2003/11/01 20:05:01 sturm Exp $
--- imep/rxmit_queue.h.orig 2003-02-26 17:08:44.000000000 -0500
+++ imep/rxmit_queue.h 2003-08-22 07:45:19.000000000 -0400
@@ -41,8 +41,8 @@
#ifndef imep_rexmit_queue_h
#define imep_rexmit_queue_h
-#include <packet.h>
-#include "lib/bsd-list.h"
+#include "packet.h"
+#include <sys/queue.h>
typedef double Time;
@@ -50,7 +50,7 @@ struct rexent {
double rexmit_at;
int rexmits_left;
Packet *p;
- LIST_ENTRY(struct rexent) next;
+ LIST_ENTRY(rexent) next;
};
LIST_HEAD(rexent_head, rexent);