Commit 59cf6fd4 authored by Gisle Vanem's avatar Gisle Vanem
Browse files

Watcom lacks <sys/time.h>.

parent 6de9732a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -25,7 +25,9 @@

#ifndef WIN32
/* headers for non-win32 */
#ifndef __WATCOMC__
#include <sys/time.h>
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@
 ***************************************************************************/

#include <stdio.h>
#ifdef WIN32
#if defined(WIN32) || defined(__WATCOMC__)
#include <time.h>
#else
#include <sys/time.h>
+2 −0
Original line number Diff line number Diff line
@@ -46,7 +46,9 @@
#include <sys/socket.h>
#endif
#include <netinet/in.h>
#ifndef __WATCOMC__
#include <sys/time.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+2 −0
Original line number Diff line number Diff line
@@ -48,7 +48,9 @@
#include <sys/socket.h>
#endif
#include <netinet/in.h>
#ifndef __WATCOMC__
#include <sys/time.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+2 −0
Original line number Diff line number Diff line
@@ -48,7 +48,9 @@
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
#ifndef __WATCOMC__
#include <sys/time.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
Loading