sysutils/lsof: add <stdbool.h> to support recent -CURRENT.

This commit is contained in:
Larry Rosenman 2019-07-26 13:59:14 +00:00
parent 93f811eaf6
commit 9c9f353be9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=507357
2 changed files with 15 additions and 2 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= lsof PORTNAME= lsof
DISTVERSION= 4.93.2 DISTVERSION= 4.93.2
PORTREVISION= 2 PORTREVISION= 3
PORTEPOCH= 8 PORTEPOCH= 8
CATEGORIES= sysutils CATEGORIES= sysutils

View file

@ -1,4 +1,4 @@
--- dialects/freebsd/dlsof.h.orig 2019-05-22 14:37:20 UTC --- dialects/freebsd/dlsof.h.orig 2019-05-08 07:32:25 UTC
+++ dialects/freebsd/dlsof.h +++ dialects/freebsd/dlsof.h
@@ -45,6 +45,12 @@ @@ -45,6 +45,12 @@
#include <signal.h> #include <signal.h>
@ -13,3 +13,16 @@
# if FREEBSDV>=4000 # if FREEBSDV>=4000
# if FREEBSDV>=5000 # if FREEBSDV>=5000
# if FREEBSDV<6020 # if FREEBSDV<6020
@@ -104,6 +110,12 @@ typedef struct device *device_t;
#include <sys/conf.h>
+
+/*
+ * include <stdbool.h> for refcount(9)
+ */
+#include <stdbool.h>
+
# if defined(HAS_VM_MEMATTR_T)
#undef vm_memattr_t