Commit c7aae103 authored by Gisle Vanem's avatar Gisle Vanem
Browse files

Removed "#ifndef__WATCOMC__". Use "#ifdef HAVE_SYS_TIME_H" instead.

parent 90994140
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@

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

#include <stdio.h>
#if defined(WIN32) || defined(__WATCOMC__)
#if defined(WIN32)
#include <time.h>
#else
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#endif

#include <curl/curl.h>

+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@
#include <sys/socket.h>
#endif
#include <netinet/in.h>
#ifndef __WATCOMC__
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef HAVE_UNISTD_H
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@
#include <sys/socket.h>
#endif
#include <netinet/in.h>
#ifndef __WATCOMC__
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef HAVE_UNISTD_H
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
#ifndef __WATCOMC__
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef HAVE_UNISTD_H
Loading