mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
MFS: 4.x/5.x compatibility #defines
This commit is contained in:
parent
ed277dc979
commit
041e207dec
1 changed files with 6 additions and 0 deletions
|
|
@ -68,6 +68,12 @@
|
|||
#include <vm/vm.h>
|
||||
#include <vm/pmap.h>
|
||||
|
||||
#if __FreeBSD_version > 500000
|
||||
#define USING_MUTEX
|
||||
#define USING_DEVFS
|
||||
#define SND_DYNSYSCTL
|
||||
#endif
|
||||
|
||||
#else
|
||||
struct isa_device { int dummy; };
|
||||
#define d_open_t void
|
||||
|
|
|
|||
Loading…
Reference in a new issue