summaryrefslogtreecommitdiff
path: root/glib/tests/hash.c
diff options
context:
space:
mode:
authorErnestas Kulik <ernestask@gnome.org>2018-02-19 14:09:10 +0200
committerPhilip Withnall <withnall@endlessm.com>2018-02-21 13:57:10 +0000
commit03e86d000fee7f59e793f7367f9db510a209b30a (patch)
tree87c85bcbbb49af113f9e66dd60aeca361be08852 /glib/tests/hash.c
parent9d24c8b223ec4253e3c6a2e14001de61fa993dbb (diff)
downloadglib-03e86d000fee7f59e793f7367f9db510a209b30a.tar.gz
Remove HAVE_CONFIG_H defs and uses
Since GLib files are only meant to be built as part of GLib, config.h always exists, so the checks are more or less pointless. https://bugzilla.gnome.org/show_bug.cgi?id=793399
Diffstat (limited to 'glib/tests/hash.c')
-rw-r--r--glib/tests/hash.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/glib/tests/hash.c b/glib/tests/hash.c
index 160ba4f56..0513d6558 100644
--- a/glib/tests/hash.c
+++ b/glib/tests/hash.c
@@ -26,9 +26,7 @@
#undef G_DISABLE_ASSERT
#undef G_LOG_DOMAIN
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
#include <stdio.h>
#include <string.h>