summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFrediano Ziglio <fziglio@redhat.com>2019-05-01 10:12:14 +0100
committerFrediano Ziglio <fziglio@redhat.com>2019-05-02 09:33:05 +0100
commit4fc4c2db36c7f07b906e9a326a9d3dc0ae6a2671 (patch)
tree966e9b9be58aa1734a909701275f3973ddf1bfdf /tests
parent09fba0677d92917d8bd7175c5509d39509d8717b (diff)
Do not check for HAVE_CONFIG_H
This should always be defined and including config.h is a requirement. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Victor Toso <victortoso@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/test-logging.c2
-rw-r--r--tests/test-marshallers.c2
-rw-r--r--tests/test-quic.c2
-rw-r--r--tests/test-region.c2
4 files changed, 0 insertions, 8 deletions
diff --git a/tests/test-logging.c b/tests/test-logging.c
index 32b0c33..22afe1f 100644
--- a/tests/test-logging.c
+++ b/tests/test-logging.c
@@ -14,9 +14,7 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif
#define G_LOG_DOMAIN "Spice"
diff --git a/tests/test-marshallers.c b/tests/test-marshallers.c
index 83c8956..afa681d 100644
--- a/tests/test-marshallers.c
+++ b/tests/test-marshallers.c
@@ -14,9 +14,7 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif
#include <glib.h>
#include <string.h>
diff --git a/tests/test-quic.c b/tests/test-quic.c
index 01a3ef3..c838545 100644
--- a/tests/test-quic.c
+++ b/tests/test-quic.c
@@ -14,9 +14,7 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif
#include <glib.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
diff --git a/tests/test-region.c b/tests/test-region.c
index 378ea60..e5478dc 100644
--- a/tests/test-region.c
+++ b/tests/test-region.c
@@ -15,9 +15,7 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif
#include <stdio.h>
#include <string.h>