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:
Matthew Macy
2020-07-25 20:09:50 -07:00
committed by GitHub
parent 6d8da84106
commit e64cc4954c
39 changed files with 224 additions and 141 deletions
+1 -4
View File
@@ -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;