Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15710)
typedef unsigned int u_int;
#endif
typedef unsigned int u_int;
#endif
+#ifdef _WIN32
+/*
+ * With MSVC, certain POSIX functions have been renamed to have an underscore
+ * prefix.
+ */
+# include <process.h>
+# define getpid _getpid
+#endif
+
#ifndef OPENSSL_NO_SOCK
# include "apps.h"
#ifndef OPENSSL_NO_SOCK
# include "apps.h"