mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 06:15:33 -04:00
On amd64 platform, use linux32 headers so 32-bit Linux applications
would be able to work with aac(4). This approach is used by some other drivers as well. However, we need a more generic way to do this in order to avoid having to special case headers in individual drivers for each platform. Obtained from: Adaptec (version b11518) Approved by: scottl
This commit is contained in:
parent
c8c3587578
commit
ca7d624355
1 changed files with 5 additions and 0 deletions
|
|
@ -38,8 +38,13 @@ __FBSDID("$FreeBSD$");
|
|||
#include <sys/module.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/proc.h>
|
||||
#ifdef __amd64__
|
||||
#include <machine/../linux32/linux.h>
|
||||
#include <machine/../linux32/linux32_proto.h>
|
||||
#else
|
||||
#include <machine/../linux/linux.h>
|
||||
#include <machine/../linux/linux_proto.h>
|
||||
#endif
|
||||
#include <compat/linux/linux_ioctl.h>
|
||||
|
||||
/* There are multiple ioctl number ranges that need to be handled */
|
||||
|
|
|
|||
Loading…
Reference in a new issue