Move zfs_config.h include to command line -include
Remove the few places in the code where zfs_config.h is included. It is now added to the gcc compile line to ensure the config results
This commit is contained in:
parent
c5bfc2688e
commit
5b14d2ab2f
|
@ -5,7 +5,6 @@
|
|||
|
||||
#include <linux/blkdev.h>
|
||||
#include <linux/elevator.h>
|
||||
#include "zfs_config.h"
|
||||
|
||||
#ifndef HAVE_FMODE_T
|
||||
typedef unsigned __bitwise__ fmode_t;
|
||||
|
|
|
@ -10,7 +10,6 @@ extern "C" {
|
|||
#include <sys/ddi.h>
|
||||
#include <sys/sunldi.h>
|
||||
#include <sys/sunddi.h>
|
||||
#include <zfs_config.h>
|
||||
|
||||
typedef struct vdev_disk {
|
||||
ddi_devid_t vd_devid;
|
||||
|
|
|
@ -69,7 +69,6 @@
|
|||
#include "zfs_namecheck.h"
|
||||
#include "zfs_prop.h"
|
||||
#include "zfs_deleg.h"
|
||||
#include "zfs_config.h"
|
||||
|
||||
extern void zfs_init(void);
|
||||
extern void zfs_fini(void);
|
||||
|
|
Loading…
Reference in New Issue