aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1996-02-01 18:18:54 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1996-02-01 18:18:54 +0000
commit6139d02fdecf4fb5d02009572be7d4de787c7767 (patch)
tree1a7fd3a1f2d5af211cd7094378e06f60c4e2646d
parent24b0124f1965af6728d3afefa8f65f05f558c2a2 (diff)
Notes
-rw-r--r--sys/sys/cdio.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/sys/cdio.h b/sys/sys/cdio.h
index b0e2fca31ae3e..9c915f81968c2 100644
--- a/sys/sys/cdio.h
+++ b/sys/sys/cdio.h
@@ -1,7 +1,7 @@
/*
* 16 Feb 93 Julian Elischer (julian@dialix.oz.au)
*
- * $Id: cdio.h,v 1.9 1996/01/30 02:56:08 mpp Exp $
+ * $Id: cdio.h,v 1.10 1996/02/01 16:16:11 ache Exp $
*/
/*
<1> Fixed a conflict with ioctl usage. There were two different
@@ -25,6 +25,12 @@
#ifndef _SYS_CDIO_H_
#define _SYS_CDIO_H_
+#ifdef __GNUC__
+#if __GNUC__ >= 2
+#pragma pack(1)
+#endif
+#endif
+
union msf_lba {
struct {
unsigned char unused;
@@ -259,5 +265,11 @@ struct ioc_capability { /*<2>*/
#define CDIOCCAPABILITY _IOR('c',30,struct ioc_capability) /*<2>*/
+#ifdef __GNUC__
+#if __GNUC__ >= 2
+#pragma pack(4)
+#endif
+#endif
+
#endif /* _SYS_CDIO_H_ */