mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Add local define of HTONL() as it was decided to protect this by _KERNEL
in <net/pfvar.h>
This commit is contained in:
parent
882bac220c
commit
23ecd01b79
1 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue