patch for assuan-handler.c

David Faure <[email protected]>
Newsgroups gmane.comp.encryption.gpg.gpa.devel
Organization Klaralvdalens Datakonsult.
Message-ID <[email protected]>
--- assuan.orig/assuan-handler.c        2004-02-18 19:05:37.000000000 +0100
+++ assuan/assuan-handler.c     2004-06-10 19:12:18.571573877 +0200
@@ -22,6 +22,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
+#include <errno.h>

 #include "assuan-defs.h"

This is necessary to compile gpgme-0.9.0 on systems without fopencookie/funopen,
since assuan_get_data_fp sets errno on such systems.

Assuan is copied to other libs than gpgme, right? Inside gpgme, assuan_get_data_fp
is totally unused.

========

On another note the freebsd people had to add this to assuan-domain-connect.c
#ifdef __FreeBSD__
#include <sys/uio.h>
#endif
Not sure why, ask [email protected]

-- 
David Faure -- [email protected], [email protected]
Qt/KDE/KOffice developer
Klarälvdalens Datakonsult AB, Platform-independent software solutions
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.