-
-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
struct errors in socket.c from idevicerestore #319
Comments
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: |
@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.
The text was updated successfully, but these errors were encountered: