diff options
author | Werner Koch <wk@gnupg.org> | 1999-05-23 14:29:05 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1999-05-23 14:29:05 +0200 |
commit | c7447e78e2abb1298fecb9861fe420109c91f14f (patch) | |
tree | b7a7954789898fc3cac24f43cbd0d32ec139f9f2 /util | |
parent | See ChangeLog: Sat May 22 22:47:26 CEST 1999 Werner Koch (diff) | |
download | gnupg2-c7447e78e2abb1298fecb9861fe420109c91f14f.tar.xz gnupg2-c7447e78e2abb1298fecb9861fe420109c91f14f.zip |
See ChangeLog: Sun May 23 14:20:22 CEST 1999 Werner Koch
Diffstat (limited to 'util')
-rw-r--r-- | util/ChangeLog | 5 | ||||
-rw-r--r-- | util/dotlock.c | 4 | ||||
-rw-r--r-- | util/http.c | 4 |
3 files changed, 13 insertions, 0 deletions
diff --git a/util/ChangeLog b/util/ChangeLog index 25edc5afe..0ec6deb40 100644 --- a/util/ChangeLog +++ b/util/ChangeLog @@ -1,3 +1,8 @@ +Sun May 23 14:20:22 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> + + * dotlock.c: Tweaked to make it compile under mingw32 + * http.c: Disabled for mingw32. + Sat May 22 22:47:26 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> * logger.c (log_set_logfile): New. diff --git a/util/dotlock.c b/util/dotlock.c index 213f0d38e..18841ec56 100644 --- a/util/dotlock.c +++ b/util/dotlock.c @@ -25,7 +25,9 @@ #include <ctype.h> #include <errno.h> #include <unistd.h> +#ifndef HAVE_DOSISH_SYSTEM #include <sys/utsname.h> +#endif #include <sys/types.h> #include <sys/time.h> #include <sys/stat.h> @@ -71,7 +73,9 @@ create_dotlock( const char *file_to_lock ) DOTLOCK h; int fd = -1; char pidstr[16]; + #ifndef HAVE_DOSISH_SYSTEM struct utsname uts; + #endif const char *nodename; const char *dirpart; int dirpartlen; diff --git a/util/http.c b/util/http.c index 1073e0433..4bac8d845 100644 --- a/util/http.c +++ b/util/http.c @@ -25,6 +25,9 @@ #include <string.h> #include <ctype.h> #include <errno.h> + +#ifndef HAVE_DOSISH_SYSTEM + #include <unistd.h> #include <sys/types.h> #include <sys/socket.h> @@ -685,6 +688,7 @@ write_server( int sock, const char *data, size_t length ) return 0; } +#endif /* HAVE_DOSISH_SYSTEM */ /**** Test code ****/ #ifdef TEST |