summaryrefslogtreecommitdiffstats
path: root/sys/sys/cdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/cdio.h')
-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 b0e2fca..9c915f8 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_ */
OpenPOWER on IntegriCloud