Commit a97ed621 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Add inclusion of <sys/time.h> needed for struct timeval declaration.

Protect some optional headers from inclusion.
parent 72659c99
...@@ -23,11 +23,18 @@ ...@@ -23,11 +23,18 @@
#include "config.h" #include "config.h"
#include "wine/port.h" #include "wine/port.h"
#include <sys/types.h> #ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H #ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h> # include <sys/socket.h>
#endif #endif
#include <unistd.h> #ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment