mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Refactor ccompile.h to not include system headers
This is a step toward being able to vendor the OpenZFS code in FreeBSD. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Matt Macy <mmacy@FreeBSD.org> Closes #10625
This commit is contained in:
@@ -31,9 +31,6 @@
|
||||
#ifndef _LINUX_TYPES_H_
|
||||
#define _LINUX_TYPES_H_
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/systm.h>
|
||||
#include <linux/compiler.h>
|
||||
|
||||
|
||||
@@ -53,7 +50,7 @@ typedef uint64_t __le64;
|
||||
typedef uint64_t __be64;
|
||||
|
||||
typedef unsigned gfp_t;
|
||||
typedef uint64_t loff_t;
|
||||
typedef off_t loff_t;
|
||||
typedef vm_paddr_t resource_size_t;
|
||||
typedef uint16_t __bitwise__ __sum16;
|
||||
typedef unsigned long pgoff_t;
|
||||
|
||||
Reference in New Issue
Block a user