For the sake of DOS and Windows, provide a different way to get a
pid_t.
This commit is contained in:
parent
41aad62a78
commit
88e89f9022
1 changed files with 7 additions and 0 deletions
|
@ -58,7 +58,14 @@
|
|||
#include <stdio.h>
|
||||
#include <openssl/bn.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <openssl/e_os2.h>
|
||||
#ifndef OPENSSL_SYS_MSDOS
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#include <process.h>
|
||||
typedef int pid_t;
|
||||
#endif
|
||||
|
||||
#include <openssl/crypto.h>
|
||||
#include "cryptlib.h"
|
||||
|
|
Loading…
Reference in a new issue