17 lines
561 B
Plaintext
17 lines
561 B
Plaintext
$NetBSD: patch-ac,v 1.8 2011/07/13 21:21:52 adam Exp $
|
|
|
|
--- src/gcrypt.h.orig 2008-09-18 17:11:53.000000000 +0200
|
|
+++ src/gcrypt.h
|
|
@@ -177,6 +177,11 @@ gcry_err_code_t gcry_error_from_errno (i
|
|
/* This enum is deprecated; it is only declared for the sake of
|
|
complete API compatibility. */
|
|
enum gcry_thread_option
|
|
+#elif defined(__INTERIX)
|
|
+#define _GCRY_PTH_FD_SET fd_set
|
|
+#define _GCRY_PTH_SOCKADDR struct sockaddr
|
|
+#define _GCRY_PTH_SOCKLEN_T int
|
|
+#define _GCRY_PTH_MSGHDR void
|
|
{
|
|
_GCRY_THREAD_OPTION_DUMMY
|
|
} _GCRY_GCC_ATTR_DEPRECATED;
|