summaryrefslogtreecommitdiff
path: root/tests/offsets/offsets.h
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2014-08-25 11:21:05 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2014-09-03 09:36:39 +0800
commit5143afb1e79f4a67f57499ca60f6df3a4682eb21 (patch)
tree7fa93db35b96da90a85639227ef02f7053543752 /tests/offsets/offsets.h
parent3a5a6dff8238fd10345ba94c255826658f4ea714 (diff)
downloadgobject-introspection-5143afb1e79f4a67f57499ca60f6df3a4682eb21.tar.gz
tests: Export the Symbols from the Offsets Tests
Like the other test programs, include config.h before anything and decorate the lone symbols for export, and include $(top_srcdir)/tests so that gitestmacros.h can be found and used. https://bugzilla.gnome.org/show_bug.cgi?id=732669
Diffstat (limited to 'tests/offsets/offsets.h')
-rw-r--r--tests/offsets/offsets.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/offsets/offsets.h b/tests/offsets/offsets.h
index 7bdc1ad7..b57b1bfc 100644
--- a/tests/offsets/offsets.h
+++ b/tests/offsets/offsets.h
@@ -5,6 +5,8 @@
#include <glib-object.h>
#include <time.h>
+#include "gitestmacros.h"
+
/* Test we get the alignment right for various basic types; we put
* a char in front of of each field to make it more likely that we'll
* stress out the alignment code.