summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/pf/pfctl/parse.y5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/pf/pfctl/parse.y b/contrib/pf/pfctl/parse.y
index e633fcb..9eb98f8 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;
OpenPOWER on IntegriCloud