tests: Include config.h in torture_pki.c
Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Этот коммит содержится в:
родитель
f9ff53b494
Коммит
a2baf6e97b
@ -1,3 +1,5 @@
|
|||||||
|
#include "config.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@ -7,6 +9,12 @@
|
|||||||
|
|
||||||
#ifdef HAVE_UNISTD_H
|
#ifdef HAVE_UNISTD_H
|
||||||
#include <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
|
#endif
|
||||||
|
|
||||||
#include "torture_pki.h"
|
#include "torture_pki.h"
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user