diff options
author | 1997-11-11 22:46:26 +0000 | |
---|---|---|
committer | 1997-11-11 22:46:26 +0000 | |
commit | 6b39d5bddc8d8d977d743d61f88a865b8c31e8df (patch) | |
tree | 3587e4fa7356acf768cf8e51949e253b852eaa22 | |
parent | Pull in sys/time.h and sys/ioctl.h so things like dt (which apparently (diff) | |
download | wireguard-openbsd-6b39d5bddc8d8d977d743d61f88a865b8c31e8df.tar.xz wireguard-openbsd-6b39d5bddc8d8d977d743d61f88a865b8c31e8df.zip |
Pull in sys/ioctl.h since things like dt seem to depend on this include.
Also, KNF and multi-inclusion protection.
-rw-r--r-- | sys/arch/mac68k/include/iteioctl.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/sys/arch/mac68k/include/iteioctl.h b/sys/arch/mac68k/include/iteioctl.h index e5f3875bbd5..493390adefa 100644 --- a/sys/arch/mac68k/include/iteioctl.h +++ b/sys/arch/mac68k/include/iteioctl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: iteioctl.h,v 1.3 1997/04/06 02:59:55 briggs Exp $ */ +/* $OpenBSD: iteioctl.h,v 1.4 1997/11/11 22:46:26 gene Exp $ */ /* $NetBSD: iteioctl.h,v 1.1 1994/12/03 23:34:31 briggs Exp $ */ /*- @@ -33,12 +33,16 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: iteioctl.h,v 1.3 1997/04/06 02:59:55 briggs Exp $ + * $Id: iteioctl.h,v 1.4 1997/11/11 22:46:26 gene Exp $ * */ +#ifndef _MACHINE_ITEIOCTL_H_ +#define _MACHINE_ITEIOCTL_H_ -struct bellparams{ +#include <sys/ioctl.h> + +struct bellparams { int freq; /* hertz frequency */ int len; /* length in clock ticks */ int vol; /* percentage volume */ @@ -48,3 +52,5 @@ struct bellparams{ #define ITEIOC_GETBELL _IOR('I', 128, struct bellparams) #define ITEIOC_SETBELL _IOW('I', 129, struct bellparams) #define ITEIOC_RINGBELL _IO('I', 130) + +#endif /* _MACHINE_ITEIOCTL_H_ */ |