Skip to content

Commit

Permalink
make it compailable on FreeBSD.
Browse files Browse the repository at this point in the history
not sure it works or not
  • Loading branch information
keiichi committed Mar 30, 2004
1 parent 2477cbc commit ff4e6b3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion kame/sys/net/radix_mpath.h
@@ -1,4 +1,4 @@
/* $KAME: radix_mpath.h,v 1.8 2002/07/04 01:57:02 itojun Exp $ */
/* $KAME: radix_mpath.h,v 1.9 2004/03/30 11:21:49 keiichi Exp $ */

/*
* Copyright (C) 2001 WIDE Project.
Expand Down Expand Up @@ -58,6 +58,13 @@ int rn6_mpath_inithead __P((void **, int));
#else
int rn_mpath_inithead __P((void **, int));
#endif

#ifdef __FreeBSD__
/* for compatibility with NetBSD */
#define rn_p rn_parent
#define rn_b rn_bit
#endif

#endif

#endif /* _NET_RADIX_MPATH_H_ */

0 comments on commit ff4e6b3

Please sign in to comment.