aboutsummaryrefslogtreecommitdiffstats
path: root/util/dotlock.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-08-28 23:29:32 +0000
committerDavid Shaw <[email protected]>2003-08-28 23:29:32 +0000
commitcd067051840c14fe83654784f34576c79a298490 (patch)
tree5b45636c2750b6c199d28d40413c45ddb8a8a2bc /util/dotlock.c
parent* options.h, g10.c (main): Add list-option list-preferred-keyserver. (diff)
downloadgnupg-cd067051840c14fe83654784f34576c79a298490.tar.gz
gnupg-cd067051840c14fe83654784f34576c79a298490.zip
* dotlock.c, http.c, iobuf.c, simple-gettext.c, srv.c, srv.h, strgutil.c,
ttyio.c, w32reg.c: s/__MINGW32__/_WIN32/ to help building on native Windows compilers. Requested by Brian Gladman. From Werner on stable branch. * http.c (connect_server): Oops - forgot to freeaddrinfo().
Diffstat (limited to '')
-rw-r--r--util/dotlock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/dotlock.c b/util/dotlock.c
index 571262674..79e45c734 100644
--- a/util/dotlock.c
+++ b/util/dotlock.c
@@ -29,7 +29,9 @@
#include <sys/utsname.h>
#endif
#include <sys/types.h>
+#ifndef _WIN32
#include <sys/time.h>
+#endif
#include <sys/stat.h>
#include <fcntl.h>
#include <signal.h>