wolfssl/debian/patches/fix-hurd-i386-flags.patch
2017-05-11 14:01:47 +02:00

19 lines
529 B
Diff

Description: Fix type definition for socklen_t on hurd-i386
Based on http://bugs.mysql.com/bug.php?id=22326
Author: Felix Lechner <felix.lechner@lease-up.com>
Forwarded: no
Last-Update: 2017-04-22
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/wolfssl/test.h
+++ b/wolfssl/test.h
@@ -152,7 +152,7 @@
#endif
#endif /* WOLFSSL_SOCKET_IS_INVALID */
-#if defined(__MACH__) || defined(USE_WINDOWS_API)
+#if defined(USE_WINDOWS_API)
#ifndef _SOCKLEN_T
typedef int socklen_t;
#endif