diff options
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -12,7 +12,11 @@ #include <string.h> #include <unistd.h> -#if !defined(__linux__) + +#if defined(__linux__) +# define STRUCT_OPEN_HOW struct open_how +#else +# define STRUCT_OPEN_HOW void int libexec_openat2(struct libexec_command *cmd, int fd, int dirfd, const char *file, void *how, size_t size); #endif |