Commit 0b64236e by Juliusz Chroboczek

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

Apparently this is needed for bionic libc.
1 parent 9bf6bd0b
......@@ -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
......
......@@ -24,7 +24,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"
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!