aboutsummaryrefslogtreecommitdiff
path: root/test/T564-lib-query.sh
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-10-28 09:32:34 -0300
committerDavid Bremner <david@tethera.net>2021-12-04 12:36:08 -0400
commit1643c0459a496b45b601d91e0089fac507a2a6d1 (patch)
tree824ca82521b586bcbc4fd8d15af590418d5814ff /test/T564-lib-query.sh
parent18cdd21b8b2ef056062700607eade43909c32cd2 (diff)
test: move system includes to notmuch-test.h
This removes some redudant includes, and will also make it easier to introduce "#define _GNU_SOURCE", which must come before all system includes.
Diffstat (limited to 'test/T564-lib-query.sh')
-rwxr-xr-xtest/T564-lib-query.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/T564-lib-query.sh b/test/T564-lib-query.sh
index 50b0a88e..ff1d4984 100755
--- a/test/T564-lib-query.sh
+++ b/test/T564-lib-query.sh
@@ -9,10 +9,8 @@ test_begin_subtest "building database"
test_expect_success "NOTMUCH_NEW"
cat <<EOF > c_head
-#include <stdio.h>
-#include <notmuch.h>
#include <notmuch-test.h>
-#include <talloc.h>
+
int main (int argc, char** argv)
{
notmuch_database_t *db;