From c7447e78e2abb1298fecb9861fe420109c91f14f Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Sun, 23 May 1999 12:29:05 +0000 Subject: See ChangeLog: Sun May 23 14:20:22 CEST 1999 Werner Koch --- util/ChangeLog | 5 +++++ util/dotlock.c | 4 ++++ util/http.c | 4 ++++ 3 files changed, 13 insertions(+) (limited to 'util') 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 + + * dotlock.c: Tweaked to make it compile under mingw32 + * http.c: Disabled for mingw32. + Sat May 22 22:47:26 CEST 1999 Werner Koch * 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 #include #include +#ifndef HAVE_DOSISH_SYSTEM #include +#endif #include #include #include @@ -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 #include #include + +#ifndef HAVE_DOSISH_SYSTEM + #include #include #include @@ -685,6 +688,7 @@ write_server( int sock, const char *data, size_t length ) return 0; } +#endif /* HAVE_DOSISH_SYSTEM */ /**** Test code ****/ #ifdef TEST -- cgit v1.2.3