Closed JEdward7777 closed 2 years ago
Not sure if the patch didn't get mangled by MarkDown, so basically you need to add the following blob to the top of ptfs.c.
#define _XOPEN_SOURCE
#if __STDC_VERSION__ >= 199901L
#define _XOPEN_SOURCE 600
#else
#define _XOPEN_SOURCE 500
#endif /* __STDC_VERSION__ */
Fixed, thanks!
The following errors prevent ptfs from compiling.
Searching the error message fatx also had the same error and the same solution worked.
The fatx issue references this pull and this stackoverflow reference.
Attached is a patch which implements the same correction which allows the compile to proceed and work.