wolfssl/debian/patches/fix-hurd-i386-flags.patch

19 lines
529 B
Diff
Raw Normal View History

2017-04-23 02:48:29 +02:00
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
2017-12-22 00:43:45 +01:00
@@ -160,7 +160,7 @@
2017-04-23 02:48:29 +02:00
#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