Hi Maintainers,

Please review patch required for libassuan on IBM z/OS platform.

Patch details -
* m4/libtool.m4: use pass_all dependency checking on z/OS.
* src/assuan-socket.c: Include sys/time.h header which defines fd_set, struct 
timeval.

Regards,
Sachin

---

* m4/libtool.m4: use pass_all dependency checking on z/OS.
* src/assuan-socket.c: Include sys/time.h header which defines fd_set, struct 
timeval

Signed-off-by: Sachin T <[email protected]>
---
 m4/libtool.m4       | 4 ++++
 src/assuan-socket.c | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/m4/libtool.m4 b/m4/libtool.m4
index c6f534e..720d2bd 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -3348,6 +3348,10 @@ openbsd*)
   fi
   ;;

+openedition*)
+  lt_cv_deplibs_check_method=pass_all
+  ;;
+
 osf3* | osf4* | osf5*)
   lt_cv_deplibs_check_method=pass_all
   ;;
diff --git a/src/assuan-socket.c b/src/assuan-socket.c
index 4c859a5..b33f575 100644
--- a/src/assuan-socket.c
+++ b/src/assuan-socket.c
@@ -48,6 +48,10 @@
 #include "assuan-defs.h"
 #include "debug.h"

+#ifdef __MVS__
+#include <sys/time.h>
+#endif
+
 /* Hacks for Slowaris.  */
 #ifndef PF_LOCAL
 # ifdef PF_UNIX
--
2.51.2

_______________________________________________
Gnupg-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-devel

Reply via email to