build: fix various includes for older GCC

This commit is contained in:
Christian Hergert
2019-05-09 15:15:30 -07:00
parent 1a576aa779
commit 1bd0107c54
8 changed files with 9 additions and 2 deletions

View File

@ -24,6 +24,7 @@
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>

View File

@ -25,6 +25,7 @@
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
#include <sysprof-capture.h>
#include <unistd.h>

View File

@ -42,6 +42,7 @@
#include <gio/gio.h>
#include <glib/gi18n.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/types.h>
@ -429,7 +430,7 @@ sysprof_perf_get_tracepoint_config (const char *path, gint64 *config)
g_free(filename);
*config = strtoull(contents, NULL, 0);
*config = strtoull (contents, NULL, 0);
g_free (contents);