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
|
@ -51,6 +51,8 @@
|
|||
#endif
|
||||
#include <fcntl.h>
|
||||
|
||||
#include <assuan.h>
|
||||
|
||||
#include "setenv.h" /* Gnulib replacement. */
|
||||
|
||||
#include "util.h"
|
||||
|
@ -306,7 +308,7 @@ int
|
|||
translate_sys2libc_fd_int (int fd, int for_write)
|
||||
{
|
||||
#if HAVE_W32CE_SYSTEM
|
||||
fd = _assuan_w32ce_finish_pipe fd, for_write);
|
||||
fd = (int) _assuan_w32ce_finish_pipe (fd, for_write);
|
||||
return translate_sys2libc_fd ((void*)fd, for_write);
|
||||
#elif HAVE_W32_SYSTEM
|
||||
if (fd <= 2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue