diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-09-21 01:02:04 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-10-09 19:14:35 +0300 |
commit | 2a969b7f4bdb223d3626dc14b684701942ccafb2 (patch) | |
tree | 5b317acd47e5183b7dd127417cd0017c39f28f94 /tests/conninfo/postgres_fe.h | |
parent | 05ac4b76f5d30def9d51815c7f25d54316592f45 (diff) |
Make package to be source rather than stub
Diffstat (limited to 'tests/conninfo/postgres_fe.h')
-rw-r--r-- | tests/conninfo/postgres_fe.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/conninfo/postgres_fe.h b/tests/conninfo/postgres_fe.h new file mode 100644 index 0000000..2a62d51 --- /dev/null +++ b/tests/conninfo/postgres_fe.h @@ -0,0 +1,19 @@ +/* file : tests/conninfo/postgres_fe.h + * copyright : Copyright (c) 2016-2017 Code Synthesis Ltd + * license : PostgreSQL License; see accompanying COPYRIGHT file + */ + +/* + * The original uri-regress.c includes src/include/postgres_fe.h that is + * located in libpq/postgresql/ directory in our source tree. This file is not + * installed, so to keep the test as a subproject and be able to test against + * the installed libpq library we replace it with the header stub, containing + * the bare minimum that is required the test to compile. + */ +#ifndef TESTS_CONNINFO_POSTGRES_FE_H +#define TESTS_CONNINFO_POSTGRES_FE_H + +#include <stdbool.h> +#include <string.h> + +#endif /* TESTS_CONNINFO_POSTGRES_FE_H */ |