diff options
Diffstat (limited to 'net/dhcpd/files/extra-patch-pfutils.c')
-rw-r--r-- | net/dhcpd/files/extra-patch-pfutils.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net/dhcpd/files/extra-patch-pfutils.c b/net/dhcpd/files/extra-patch-pfutils.c new file mode 100644 index 000000000000..ab32fc5c9464 --- /dev/null +++ b/net/dhcpd/files/extra-patch-pfutils.c @@ -0,0 +1,16 @@ +--- pfutils.c.orig 2018-06-06 08:53:18 UTC ++++ pfutils.c +@@ -15,6 +15,8 @@ + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + ++#ifndef NO_PF /* No need of PF support */ ++ + #include <sys/types.h> + #include <sys/ioctl.h> + #include <sys/socket.h> +@@ -254,3 +256,4 @@ pfmsg(char c, struct lease *lp) + break; + } + } ++#endif /* NO_PF */ |