mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
build: fix various includes for older GCC
This commit is contained in:
@ -24,6 +24,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
@ -25,6 +25,7 @@
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <sysprof-capture.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user