diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/pf/pfctl/parse.y | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/pf/pfctl/parse.y b/contrib/pf/pfctl/parse.y index e633fcbe63a7..9eb98f8fd41a 100644 --- a/contrib/pf/pfctl/parse.y +++ b/contrib/pf/pfctl/parse.y @@ -1,3 +1,4 @@ +/* $FreeBSD$ */ /* $OpenBSD: parse.y,v 1.415 2003/09/01 15:07:40 henning Exp $ */ /* @@ -55,6 +56,10 @@ #include "pfctl_parser.h" #include "pfctl.h" +#if defined(__FreeBSD__) +#define HTONL(x) (x) = htonl((__uint32_t)(x)) +#endif + static struct pfctl *pf = NULL; static FILE *fin = NULL; static int debug = 0; |