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:
Brian Behlendorf 2010-03-22 16:50:58 -07:00
parent c5bfc2688e
commit 5b14d2ab2f
3 changed files with 0 additions and 3 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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);