Fix build on macOS
In https://github.com/Homebrew/homebrew-core/pull/136310, fakeroot 1.32 failed to build on macOS due to the following error:
In file included from libfakeroot_time64.c:19:
./wrapped.h:43:88: error: unknown type name 'posix_spawn_file_actions_t'
extern int my_posix_spawn (pid_t * __restrict pid, const char * __restrict path, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t * __restrict attrp, char *const argv[ __restrict], char *const envp[ __restrict]) __attribute__((visibility("hidden")));
^
./wrapped.h:43:136: error: unknown type name 'posix_spawnattr_t'
extern int my_posix_spawn (pid_t * __restrict pid, const char * __restrict path, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t * __restrict attrp, char *const argv[ __restrict], char *const envp[ __restrict]) __attribute__((visibility("hidden")));
^
./wrapped.h:44:89: error: unknown type name 'posix_spawn_file_actions_t'
extern int my_posix_spawnp (pid_t * __restrict pid, const char * __restrict path, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t * __restrict attrp, char *const argv[ __restrict], char *const envp[ __restrict]) __attribute__((visibility("hidden")));
^
./wrapped.h:44:137: error: unknown type name 'posix_spawnattr_t'
extern int my_posix_spawnp (pid_t * __restrict pid, const char * __restrict path, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t * __restrict attrp, char *const argv[ __restrict], char *const envp[ __restrict]) __attribute__((visibility("hidden")));
^
4 errors generated.
This patch fixes the above error.