فهرست منبع

make sure the stat64 struct is packed to prevent further ABI headaches as done in mainline 2.6

Mike Frysinger 20 سال پیش
والد
کامیت
2edb83b593
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      libc/sysdeps/linux/arm/bits/kernel_stat.h

+ 1 - 1
libc/sysdeps/linux/arm/bits/kernel_stat.h

@@ -82,6 +82,6 @@ struct kernel_stat64 {
 	unsigned long      st_ctime;
 	unsigned long      st_ctime_nsec;
 	unsigned long long st_ino;
-};
+} __attribute__((packed));
 
 #endif	/*  _BITS_STAT_STRUCT_H */