aboutsummaryrefslogtreecommitdiffstats
path: root/g10/misc.c
diff options
context:
space:
mode:
authorTimo Schulz <[email protected]>2004-11-03 20:03:46 +0000
committerTimo Schulz <[email protected]>2004-11-03 20:03:46 +0000
commit37ecd725e58c41820e01f15c1ef4fb2c07014aa9 (patch)
treed5b9174d9498fdb12e27b85d28bc31456fc56354 /g10/misc.c
parent* strgutil.c (load_libiconv): Use log_info to avoid failures when (diff)
downloadgnupg-37ecd725e58c41820e01f15c1ef4fb2c07014aa9.tar.gz
gnupg-37ecd725e58c41820e01f15c1ef4fb2c07014aa9.zip
2004-11-03 Timo Schulz <[email protected]>
* strgutil.c (w32_strerror): New. * ttyio.c (init_ttyfp, tty_printf, do_get): Use it here. * iobuf.c (fd_cache_open, file_filter): Likewise. (iobuf_seek, translate_file_handle): Likewise.
Diffstat (limited to 'g10/misc.c')
-rw-r--r--g10/misc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/g10/misc.c b/g10/misc.c
index 110d9128c..89ca92e50 100644
--- a/g10/misc.c
+++ b/g10/misc.c
@@ -37,6 +37,10 @@
#ifdef ENABLE_SELINUX_HACKS
#include <sys/stat.h>
#endif
+#ifdef _WIN32
+#include <time.h>
+#include <process.h>
+#endif
#include "util.h"
#include "main.h"
#include "photoid.h"