diff options
author | bde <bde@FreeBSD.org> | 1996-04-19 17:39:57 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-04-19 17:39:57 +0000 |
commit | a807e1724b9d4c6689b61fb11d7834465f7fceee (patch) | |
tree | 00596901d11400dd54993c5be20831b5c88ade77 /sys | |
parent | 2b40b8e5c50cee498beb1c5e8c70b0d97235f63c (diff) | |
download | FreeBSD-src-a807e1724b9d4c6689b61fb11d7834465f7fceee.zip FreeBSD-src-a807e1724b9d4c6689b61fb11d7834465f7fceee.tar.gz |
Don't depend on <sys/types.h> including <sys/cdefs.h>.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/libkern/quad.h | 3 | ||||
-rw-r--r-- | sys/scsi/scsi_sense.c | 2 | ||||
-rw-r--r-- | sys/scsi/su.c | 4 | ||||
-rw-r--r-- | sys/sys/libkern.h | 3 |
4 files changed, 7 insertions, 5 deletions
diff --git a/sys/libkern/quad.h b/sys/libkern/quad.h index 873a1f6..41c52ec 100644 --- a/sys/libkern/quad.h +++ b/sys/libkern/quad.h @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * @(#)quad.h 8.1 (Berkeley) 6/4/93 - * $Id$ + * $Id: quad.h,v 1.3 1995/12/26 13:24:48 bde Exp $ */ /* @@ -54,6 +54,7 @@ * with 48-bit longs. */ +#include <sys/cdefs.h> #include <sys/types.h> #include <limits.h> diff --git a/sys/scsi/scsi_sense.c b/sys/scsi/scsi_sense.c index 8a41954..452d75e 100644 --- a/sys/scsi/scsi_sense.c +++ b/sys/scsi/scsi_sense.c @@ -1,4 +1,4 @@ -#include <sys/types.h> +#include <sys/param.h> #include <scsi/scsiconf.h> diff --git a/sys/scsi/su.c b/sys/scsi/su.c index 5852154..d6f056e 100644 --- a/sys/scsi/su.c +++ b/sys/scsi/su.c @@ -44,14 +44,14 @@ * SUCH DAMAGE. *End copyright * - * $Id: su.c,v 1.12 1995/12/10 20:34:53 bde Exp $ + * $Id: su.c,v 1.13 1995/12/14 19:13:36 bde Exp $ * * Tabstops 4 * XXX devfs entries for this device should be handled by generic scsiconfig * Add a bdevsw interface.. ? */ -#include <sys/types.h> +#include <sys/param.h> #include <sys/conf.h> #include <sys/errno.h> #include <sys/stat.h> diff --git a/sys/sys/libkern.h b/sys/sys/libkern.h index 6e4ccd7..918265b 100644 --- a/sys/sys/libkern.h +++ b/sys/sys/libkern.h @@ -31,12 +31,13 @@ * SUCH DAMAGE. * * @(#)libkern.h 8.1 (Berkeley) 6/10/93 - * $Id: libkern.h,v 1.8 1995/11/09 20:20:00 phk Exp $ + * $Id: libkern.h,v 1.9 1996/01/16 10:22:17 bde Exp $ */ #ifndef _SYS_LIBKERN_H_ #define _SYS_LIBKERN_H_ +#include <sys/cdefs.h> #include <sys/types.h> /* BCD conversions. */ |