Change include order in unittest files

The tests are compiled without -D_GNU_SOURCE, therefore
the XSI version of strerror_r is used. Defining
_GNU_SOURCE in torture.h then including *.c gives error
because it is assuming GNU version of strerror_r in
the source file.

Signed-off-by: Norbert Pocs <npocs@redhat.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
Norbert Pocs
2022-06-30 16:43:35 +02:00
committed by Jakub Jelen
parent 2abd4bfb6c
commit b6a4330fe4
10 changed files with 10 additions and 10 deletions

View File

@@ -26,10 +26,10 @@
#include <sys/stat.h>
#include <fcntl.h>
#include "pki.c"
#include "torture.h"
#include "torture_pki.h"
#include "torture_key.h"
#include "pki.c"
#include <pthread.h>