summaryrefslogtreecommitdiff
path: root/libsecret
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@src.gnome.org>2020-01-14 10:13:16 +0100
committerDaiki Ueno <dueno@src.gnome.org>2020-01-14 10:13:16 +0100
commite6881d4ff1260c7308be56f21a9d354d7680dfaa (patch)
tree40bddaafca7307eb553529c8138a0a8bab5382c4 /libsecret
parentcf21ad50b62f7c8e4b22ef374f0a73290a99bdb8 (diff)
downloadlibsecret-e6881d4ff1260c7308be56f21a9d354d7680dfaa.tar.gz
build: Suppress compiler warning if compiled with G_DISABLE_ASSERT
This is similar to 0be63575ff47f19cff3688985c7f00e92bc25541 but for test-file-collection.c. Fixes #36.
Diffstat (limited to 'libsecret')
-rw-r--r--libsecret/test-file-collection.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libsecret/test-file-collection.c b/libsecret/test-file-collection.c
index e016d45..512bfb6 100644
--- a/libsecret/test-file-collection.c
+++ b/libsecret/test-file-collection.c
@@ -1,11 +1,15 @@
#include "config.h"
+#undef G_DISABLE_ASSERT
+
#include "egg/egg-testing.h"
#include "secret-file-collection.h"
#include "secret-retrievable.h"
#include "secret-schema.h"
+#include <stdlib.h>
+
typedef struct {
gchar *directory;
GMainLoop *loop;