build: fix build on macOS

This commit is contained in:
Christian Hergert
2019-06-04 14:35:48 -07:00
parent af2a17daa5
commit 807bff9152
9 changed files with 15 additions and 11 deletions

View File

@ -272,6 +272,7 @@ get_lines (const char *format,
...)
G_GNUC_PRINTF (1, 2);
#ifdef __linux__
static char **
get_lines (const char *format,
...)
@ -296,6 +297,7 @@ get_lines (const char *format,
return result;
}
#endif
static const uint8_t *
get_vdso_bytes (size_t *length)