mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
2010-06-08 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am (AM_CFLAGS): Add $(LIBASSUAN_CFLAGS). (t_common_ldadd): Add $(LIBASSUAN_LIBS). * sysutils.c: Include <assuan.h>. (translate_sys2libc_fd_int): Cast to silence gcc warning. * iobuf.c: Include <assuan.h> (translate_file_handle): Fix syntax error.
This commit is contained in:
parent
f7b0b80e4a
commit
70f3a9bbb6
4 changed files with 18 additions and 5 deletions
|
@ -37,6 +37,8 @@
|
|||
# include <swis.h>
|
||||
#endif /* __riscos__ */
|
||||
|
||||
#include <assuan.h>
|
||||
|
||||
#include "util.h"
|
||||
#include "sysutils.h"
|
||||
#include "iobuf.h"
|
||||
|
@ -2366,11 +2368,11 @@ iobuf_read_line (iobuf_t a, byte ** addr_of_buffer,
|
|||
static int
|
||||
translate_file_handle (int fd, int for_write)
|
||||
{
|
||||
#if defined (HAVE_W32CE_SYSTEM)
|
||||
#if defined(HAVE_W32CE_SYSTEM)
|
||||
/* This is called only with one of the special filenames. Under
|
||||
W32CE the FD here is not a file descriptor but a rendezvous id,
|
||||
thus we need to finish the pipe first. */
|
||||
fd = _assuan_w32ce_finish_pipe fd, for_write);
|
||||
fd = _assuan_w32ce_finish_pipe (fd, for_write);
|
||||
#elif defined(HAVE_W32_SYSTEM)
|
||||
{
|
||||
int x;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue