diff options
author | bde <bde@FreeBSD.org> | 1997-03-23 03:37:54 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-03-23 03:37:54 +0000 |
commit | 0d3591bdbd3a026b25e6400f8cc2717489321ee5 (patch) | |
tree | 6f29bb8eda668548be86212b07bea087a25e6b3d /sys/dev/cy | |
parent | 9c1cce114fbef8364b2d49669b0215e8bac94fd3 (diff) | |
download | FreeBSD-src-0d3591bdbd3a026b25e6400f8cc2717489321ee5.zip FreeBSD-src-0d3591bdbd3a026b25e6400f8cc2717489321ee5.tar.gz |
Don't #include <sys/fcntl.h> in <sys/file.h> if KERNEL is defined.
Fixed everything that depended on getting fcntl.h stuff from the wrong
place. Most things don't depend on file.h stuff at all.
Diffstat (limited to 'sys/dev/cy')
-rw-r--r-- | sys/dev/cy/cy.c | 4 | ||||
-rw-r--r-- | sys/dev/cy/cy_isa.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/cy/cy.c b/sys/dev/cy/cy.c index 1bbc540..54443dc 100644 --- a/sys/dev/cy/cy.c +++ b/sys/dev/cy/cy.c @@ -27,7 +27,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id$ + * $Id: cy.c,v 1.45 1997/02/22 09:36:03 peter Exp $ */ #include "cy.h" @@ -76,7 +76,7 @@ #include <sys/proc.h> #include <sys/conf.h> #include <sys/dkstat.h> -#include <sys/file.h> +#include <sys/fcntl.h> #include <sys/uio.h> #include <sys/kernel.h> #include <sys/malloc.h> diff --git a/sys/dev/cy/cy_isa.c b/sys/dev/cy/cy_isa.c index 1bbc540..54443dc 100644 --- a/sys/dev/cy/cy_isa.c +++ b/sys/dev/cy/cy_isa.c @@ -27,7 +27,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id$ + * $Id: cy.c,v 1.45 1997/02/22 09:36:03 peter Exp $ */ #include "cy.h" @@ -76,7 +76,7 @@ #include <sys/proc.h> #include <sys/conf.h> #include <sys/dkstat.h> -#include <sys/file.h> +#include <sys/fcntl.h> #include <sys/uio.h> #include <sys/kernel.h> #include <sys/malloc.h> |