mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 18:04:25 +09:00
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:
committed by
Jakub Jelen
parent
2abd4bfb6c
commit
b6a4330fe4
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user