Commit 26410663 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Include <sys/time.h> explicitly whenever time_t is used.

Apparently this is needed for bionic libc.
parent e92d41af
......@@ -23,6 +23,7 @@ THE SOFTWARE.
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <sys/time.h>
#ifdef __linux
/* Defining it rather than including <linux/rtnetlink.h> because this
......
......@@ -25,7 +25,7 @@ THE SOFTWARE.
#include <string.h>
#include <stdio.h>
#include <assert.h>
#include <sys/time.h>
#include <netinet/in.h>
#include <arpa/inet.h>
......
......@@ -23,6 +23,7 @@ THE SOFTWARE.
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <netinet/in.h>
......
......@@ -25,6 +25,7 @@ THE SOFTWARE.
#include <stdio.h>
#include <errno.h>
#include <assert.h>
#include <sys/time.h>
#include "babeld.h"
#include "util.h"
......
......@@ -23,6 +23,7 @@ THE SOFTWARE.
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/time.h>
#include "babeld.h"
#include "util.h"
......
......@@ -25,6 +25,7 @@ THE SOFTWARE.
#include <string.h>
#include <errno.h>
#include <assert.h>
#include <sys/time.h>
#include <netinet/in.h>
#include "babeld.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