Add local define of HTONL() as it was decided to protect this by _KERNEL

in <net/pfvar.h>
This commit is contained in:
Max Laier 2004-02-28 18:41:43 +00:00
parent 882bac220c
commit 23ecd01b79
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=126361

View File

@ -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;