diff options
author | Yang Tse <yangsita@gmail.com> | 2007-02-20 12:12:27 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2007-02-20 12:12:27 +0000 |
commit | 29bb6f65f1ac786b189ca6e860b463c5142bc486 (patch) | |
tree | e42f0cad0d307136e66594a443ec5ab34bd9eb1a /lib/timeval.h | |
parent | 37f07a54bdb48b2fd1a564a054d20a576f4de342 (diff) | |
download | curl-29bb6f65f1ac786b189ca6e860b463c5142bc486.tar.gz |
Move header file inclusion logic and definition of timeval
struct for platforms that don't have it to setup_once.h
Diffstat (limited to 'lib/timeval.h')
-rw-r--r-- | lib/timeval.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/timeval.h b/lib/timeval.h index 6c55a71ba..565409a2f 100644 --- a/lib/timeval.h +++ b/lib/timeval.h @@ -30,27 +30,6 @@ #include "setup.h" -#ifdef HAVE_SYS_TYPES_H -#include <sys/types.h> -#endif -#ifdef HAVE_SYS_TIME_H -#include <sys/time.h> -#ifdef TIME_WITH_SYS_TIME -#include <time.h> -#endif -#else -#ifdef HAVE_TIME_H -#include <time.h> -#endif -#endif - -#ifndef HAVE_STRUCT_TIMEVAL -struct timeval { - long tv_sec; - long tv_usec; -}; -#endif - struct timeval curlx_tvnow(void); /* |