mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
sysutils/lsof: add <stdbool.h> to support recent -CURRENT.
This commit is contained in:
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
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= lsof
|
||||
DISTVERSION= 4.93.2
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
PORTEPOCH= 8
|
||||
CATEGORIES= sysutils
|
||||
|
||||
|
|
|
@ -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
|
||||
@@ -45,6 +45,12 @@
|
||||
#include <signal.h>
|
||||
|
@ -13,3 +13,16 @@
|
|||
# if FREEBSDV>=4000
|
||||
# if FREEBSDV>=5000
|
||||
# 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
|
||||
|
|
Loading…
Add table
Reference in a new issue