Partial revert of 1288f26 and fix for no-async
[openssl.git] / include / openssl / async.h
index 99d80752159dd13e4b7aad738c02c70ff7c98e97..5223aadf37369bd3cf2dfd02be666a7121167b94 100644 (file)
  * ====================================================================
  */
 
+#include <stdlib.h>
+
 #ifndef HEADER_ASYNC_H
 # define HEADER_ASYNC_H
 
-#include <openssl/opensslconf.h>
-
-#ifdef OPENSSL_NO_ASYNC
-#define ASYNC_block_pause() do { ; } while(0)
-#define ASYNC_unblock_pause() do { ; } while(0)
-#else
-#include <stdlib.h>
-
 #if defined(_WIN32)
 #include <windows.h>
 #define OSSL_ASYNC_FD   HANDLE
@@ -122,5 +116,4 @@ void ERR_load_ASYNC_strings(void);
 #ifdef  __cplusplus
 }
 #endif
-#endif /* OPENSSL_NO_ASYNC */
 #endif