$NetBSD$

--- queue.h.orig	2002-04-07 23:12:52.000000000 +0200
+++ queue.h
@@ -500,4 +500,12 @@ struct {								\
 		(elm2)->field.cqe_prev->field.cqe_next = (elm2);	\
 } while (0)
 
+#else
+
+#define FRAGROUTE_SYSTEM_SYS_QUEUE
+
+#ifndef TAILQ_END
+#define TAILQ_END(head)	NULL
+#endif
+
 #endif	/* !_SYS_QUEUE_H_ */
