X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=test%2Fapi%2Ftest_start_stop.c;h=0f0488d47b515423386c6a2bcef4bca86ae5e10d;hp=8ab500c8b2bed865bebd2a10af9251106fc3857e;hb=aeea139423b8eaf28a4de53b3d7b2ad1f22284e7;hpb=a030c87bc444608639905eca95e29f84a4f1d991 diff --git a/test/api/test_start_stop.c b/test/api/test_start_stop.c index 8ab500c..0f0488d 100644 --- a/test/api/test_start_stop.c +++ b/test/api/test_start_stop.c @@ -17,6 +17,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if HAVE_CONFIG_H +#include +#endif #include #include "testlib.h" @@ -26,7 +29,7 @@ static void tst(int argc, char **argv) { ZebraService zs = tl_start_up(0, argc, argv); - ZebraHandle zh = 0; + ZebraHandle zh = 0; YAZ_CHECK(zs); if (zs) @@ -34,7 +37,7 @@ static void tst(int argc, char **argv) zh = zebra_open(zs, 0); YAZ_CHECK(zh); } - + YAZ_CHECK(tl_close_down(zh, zs)); } }