summaryrefslogtreecommitdiff
path: root/tests/plugins
diff options
context:
space:
mode:
authorChristian Hergert <chergert@redhat.com>2023-03-16 16:38:48 -0700
committerChristian Hergert <chergert@redhat.com>2023-03-22 16:44:35 -0700
commit46cf665494b7602b2aed8cb156415236f828e112 (patch)
treec95de26d0736eced826dda37e2c3b161b531b081 /tests/plugins
parent35e70f0b4581276955cc9caa5088afea1a9d6ca6 (diff)
downloadlibpeas-46cf665494b7602b2aed8cb156415236f828e112.tar.gz
janitorial: remove HAVE_CONFIG_H
There is no need to do the HAVE_CONFIG_H thing with meson. We always have a config.h so just include it unconditionally.
Diffstat (limited to 'tests/plugins')
-rw-r--r--tests/plugins/builtin/builtin-plugin.c4
-rw-r--r--tests/plugins/has-dep/has-dep-plugin.c4
-rw-r--r--tests/plugins/loadable/loadable-plugin.c4
-rw-r--r--tests/plugins/self-dep/self-dep-plugin.c4
4 files changed, 4 insertions, 12 deletions
diff --git a/tests/plugins/builtin/builtin-plugin.c b/tests/plugins/builtin/builtin-plugin.c
index 3e66c86..9533433 100644
--- a/tests/plugins/builtin/builtin-plugin.c
+++ b/tests/plugins/builtin/builtin-plugin.c
@@ -21,9 +21,7 @@
* SPDX-License-Identifier: LGPL-2.1-or-later
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include <glib.h>
#include <glib-object.h>
diff --git a/tests/plugins/has-dep/has-dep-plugin.c b/tests/plugins/has-dep/has-dep-plugin.c
index 61829a7..57cb237 100644
--- a/tests/plugins/has-dep/has-dep-plugin.c
+++ b/tests/plugins/has-dep/has-dep-plugin.c
@@ -21,9 +21,7 @@
* SPDX-License-Identifier: LGPL-2.1-or-later
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include <glib.h>
#include <glib-object.h>
diff --git a/tests/plugins/loadable/loadable-plugin.c b/tests/plugins/loadable/loadable-plugin.c
index 0ecc0bb..f279407 100644
--- a/tests/plugins/loadable/loadable-plugin.c
+++ b/tests/plugins/loadable/loadable-plugin.c
@@ -21,9 +21,7 @@
* SPDX-License-Identifier: LGPL-2.1-or-later
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include <glib.h>
#include <glib-object.h>
diff --git a/tests/plugins/self-dep/self-dep-plugin.c b/tests/plugins/self-dep/self-dep-plugin.c
index 02f9b6a..45d5f4d 100644
--- a/tests/plugins/self-dep/self-dep-plugin.c
+++ b/tests/plugins/self-dep/self-dep-plugin.c
@@ -21,9 +21,7 @@
* SPDX-License-Identifier: LGPL-2.1-or-later
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include <glib.h>
#include <glib-object.h>