Closed Merculous closed 3 years ago
Ok, I thought I fixed it but I'm still getting this error.
Found a fix. At this page adding "#define _POSIX_C_SOURCE 200112L" to socket.c in devicerestore fixed it.
So, in conclusion, not sure if these are the exact needed headers but adding the headers below will then compile: <linux/limits.h> in ipsw.c "#define _POSIX_C_SOURCE 200112L" in socket.c Add these to idevicerestore in "external/idevicerestore/src"
@Merculous it doesn't work anymore ):
This is fixed with the changes mentioned in #302. That will make it compile. This wasn't a good fix and the pr referenced is the correct way of doing it.
Ubuntu 18.04.4 libipatcher: yes (32 and 64)
Before, I had to add the header "<linux/limits.h>" to ipsw.c also in idevicerestore.
If this may cause any issues later on, I do have liboffsetfinder64 compiled without mach-o related functions.