| commit | 57bf45067af3734cb40a06fa3be3f884f4818381 | [log] [tgz] |
|---|---|---|
| author | Patrik Stridvall <ps@leissner.se> | Mon Aug 26 21:53:24 2002 +0000 |
| committer | Alexandre Julliard <julliard@winehq.org> | Mon Aug 26 21:53:24 2002 +0000 |
| tree | 7ac41572c0f6e3df95c336aa0baf6694a60b76ab | |
| parent | dd1484a219aca1be4081aa27a438c4e755f225db [diff] [blame] |
MSVC compatibility fixes.
diff --git a/files/smb.c b/files/smb.c index b84096d..9624c5e 100644 --- a/files/smb.c +++ b/files/smb.c
@@ -74,12 +74,16 @@ #ifdef HAVE_SYS_TIME_H # include <sys/time.h> #endif -#include <sys/poll.h> +#ifdef HAVE_SYS_POLL_H +# include <sys/poll.h> +#endif #include <time.h> #ifdef HAVE_UNISTD_H # include <unistd.h> #endif -#include <utime.h> +#ifdef HAVE_UTIME_H +# include <utime.h> +#endif #ifdef HAVE_SYS_SOCKET_H # include <sys/socket.h> #endif