mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-08 19:02:06 +03:00
tests: Include config.h in torture_pki.c
Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@@ -7,6 +9,12 @@
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#elif (defined _WIN32) || (defined _WIN64)
|
||||
#include <io.h>
|
||||
#define read _read
|
||||
#define open _open
|
||||
#define write _write
|
||||
#define close _close
|
||||
#endif
|
||||
|
||||
#include "torture_pki.h"
|
||||
|
Reference in New Issue
Block a user