<sys/time.h> should include [most of] <sys/select.h>.
Found by trying to build c-ares with bionic. Change-Id: I38684abcb806ef1e8806c68b4a6dd9200f48849e
This commit is contained in:
parent
4f2e1d3b1e
commit
a7a87dda4a
1 changed files with 4 additions and 0 deletions
|
@ -25,6 +25,7 @@
|
||||||
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _SYS_TIME_H_
|
#ifndef _SYS_TIME_H_
|
||||||
#define _SYS_TIME_H_
|
#define _SYS_TIME_H_
|
||||||
|
|
||||||
|
@ -32,6 +33,9 @@
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <linux/time.h>
|
#include <linux/time.h>
|
||||||
|
|
||||||
|
/* POSIX says <sys/time.h> gets you most of <sys/select.h> and may get you all of it. */
|
||||||
|
#include <sys/select.h>
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|
||||||
extern int gettimeofday(struct timeval *, struct timezone *);
|
extern int gettimeofday(struct timeval *, struct timezone *);
|
||||||
|
|
Loading…
Reference in a new issue