]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/sys/termios.h
xnu-792.21.3.tar.gz
[apple/xnu.git] / bsd / sys / termios.h
index 74d338e50ad995bc8bc68f24928eb09d6b7c5efe..3945a91e9fffa2db9e8ab707257cd09ac8f2d380 100644 (file)
@@ -280,16 +280,24 @@ typedef unsigned long long        user_speed_t;
  * WARNING - keep in sync with struct termios
  */
 
+#if __DARWIN_ALIGN_NATURAL
+#pragma options align=natural
+#endif
+
 struct user_termios {
        user_tcflag_t   c_iflag;        /* input flags */
        user_tcflag_t   c_oflag;        /* output flags */
        user_tcflag_t   c_cflag;        /* control flags */
        user_tcflag_t   c_lflag;        /* local flags */
        cc_t            c_cc[NCCS];     /* control chars */
-       user_speed_t    c_ispeed __attribute((aligned(8)));     /* input speed */
+       user_speed_t    c_ispeed;       /* input speed */
        user_speed_t    c_ospeed;       /* output speed */
 };
 
+#if __DARWIN_ALIGN_NATURAL
+#pragma options align=reset
+#endif
+
 #endif /* KERNEL */
 
 /*