diff options
Diffstat (limited to 'net/userppp/patches/patch-ag')
-rw-r--r-- | net/userppp/patches/patch-ag | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net/userppp/patches/patch-ag b/net/userppp/patches/patch-ag new file mode 100644 index 00000000000..287df2fe89b --- /dev/null +++ b/net/userppp/patches/patch-ag @@ -0,0 +1,18 @@ +$NetBSD: patch-ag,v 1.1 2000/11/08 15:53:49 tron Exp $ + +--- libhack/alias_db.c.orig Mon Oct 30 18:24:12 2000 ++++ libhack/alias_db.c Wed Nov 8 16:48:59 2000 +@@ -141,6 +141,13 @@ + #include "alias_local.h" + + ++#ifndef LIST_FOREACH ++#define LIST_FOREACH(var, head, field) \ ++ for ((var) = ((head)->lh_first); \ ++ (var); \ ++ (var) = ((var)->field.le_next)) ++ ++#endif + + /* + Constants (note: constants are also defined |