Index: files/patch-dialects-freebsd-dlsof.h =================================================================== --- files/patch-dialects-freebsd-dlsof.h (revision 511795) +++ files/patch-dialects-freebsd-dlsof.h (working copy) @@ -1,8 +1,10 @@ --- dialects/freebsd/dlsof.h.orig 2019-05-08 07:32:25 UTC +++ dialects/freebsd/dlsof.h -@@ -45,6 +45,12 @@ +@@ -44,7 +44,14 @@ + #include #include #include ++#include +#if FREEBSDV>=13000 +/* This header is a huge mess. Please don't support EOL FreeBSD releases. */ @@ -13,7 +15,7 @@ # if FREEBSDV>=4000 # if FREEBSDV>=5000 # if FREEBSDV<6020 -@@ -104,6 +110,12 @@ typedef struct device *device_t; +@@ -104,6 +111,12 @@ typedef struct device *device_t; #include