libsysprof-capture: add missing config.h includes

This is needed for symbol visibility.
This commit is contained in:
Christian Hergert
2019-05-08 11:04:48 -07:00
parent 29258e59ba
commit 55f587988b
7 changed files with 20 additions and 1 deletions

View File

@ -18,6 +18,8 @@
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#include "config.h"
#ifdef __linux__
# include <linux/perf_event.h>
#else

View File

@ -18,7 +18,6 @@
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#define G_LOG_DOMAIN "sp-capture-condition"
#include "config.h"

View File

@ -18,6 +18,10 @@
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#define G_LOG_DOMAIN "sp-capture-reader"
#include "config.h"
#include <errno.h>
#include <fcntl.h>
#include <string.h>

View File

@ -18,6 +18,10 @@
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#define G_LOG_DOMAIN "sp-capture-util"
#include "config.h"
#include <errno.h>
#include <glib.h>

View File

@ -18,6 +18,10 @@
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#define G_LOG_DOMAIN "sp-capture-writer"
#include "config.h"
#ifndef _GNU_SOURCE
# define _GNU_SOURCE
#endif

View File

@ -18,6 +18,10 @@
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#define G_LOG_DOMAIN "sp-clock"
#include "config.h"
#include "sp-clock.h"
gint sp_clock = -1;

View File

@ -18,6 +18,8 @@
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#define G_LOG_DOMAIN "sp-platform"
#include "config.h"
#include <glib.h>