fix flock64 structure on PPC
PATCH 1/1 fix flock64 structure on PPC
The attached patch makes the flock64 functions work for PPC targets (target alignment didn't match up)
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
syscall_defs.h +3 -0
@@ -1762,6 +1762,9 @@struct target_flock64 {short l_type;short l_whence; +#ifdef TARGET_PPC +int __pad; +#endif unsigned long long l_start;unsigned long long l_len;int l_pid;