Fix gcc warnings when building for Windows.
* m4/estream.m4: Remove file. * configure.ac (estream_PRINTF_INIT): Remove. Estream is part of libgpg-error. (AC_CHECK_FUNCS): Move to a later place. * src/agent.c [W32]: Explictly include winsock2.h to avoid a warning. (gnupg_allow_set_foregound_window): Fix printf warning. * src/support.h (ttyname): Mark unsused arg. (stpcpy): Move to ... * src/get-path.c (my_stpcpy): here. Use macros to get around warning pertaining to the gcc built-in. (dlopen): Mark unused arg.
- Signed-off-by: Werner Koch <wk@gnupg.org>