Ported changes to support Windows

This commit is contained in:
Manoj Ampalam 2017-08-28 09:49:42 -07:00
parent 19d40e6668
commit 4a5fe9ea92
2 changed files with 7 additions and 1 deletions

View File

@ -31,9 +31,10 @@
#include <errno.h> #include <errno.h>
#include "w32fd.h" #include "w32fd.h"
#include "signal_internal.h" #include "signal_internal.h"
#include "inc\signal.h"
#include "debug.h" #include "debug.h"
/* Apply caution while changing this order of inclusion of below 2 signal.h headers */
#include "inc\signal.h"
#undef signal #undef signal
#undef raise #undef raise
#undef SIGINT #undef SIGINT
@ -46,7 +47,11 @@
#undef SIG_DFL #undef SIG_DFL
#undef SIG_IGN #undef SIG_IGN
#undef SIG_ERR #undef SIG_ERR
#undef NSIG
#include <signal.h> #include <signal.h>
#undef NSIG
#define NSIG 0
/* pending signals to be processed */ /* pending signals to be processed */
sigset_t pending_signals; sigset_t pending_signals;

View File

@ -5,6 +5,7 @@ typedef unsigned __int64 u_int64_t;
#define __attribute__(a) #define __attribute__(a)
#include "sshbuf.h" #include "sshbuf.h"
#include "sshkey.h" #include "sshkey.h"
#include <openssl/bn.h>
#include "authfd.h" #include "authfd.h"
#include "digest.h" #include "digest.h"