Browse Source

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

Mike Frysinger 20 years ago
parent
commit
2edb83b593
1 changed files with 1 additions and 1 deletions
  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 */