Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Move include of 'sys/time.h' from util.c to util.h
  • Loading branch information
Björn Gernert committed Jun 23, 2019
1 parent 2dc57e0 commit 8107c38
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion util.c
Expand Up @@ -15,7 +15,6 @@
#include <poll.h>
#include <stdarg.h>
#include <assert.h>
#include <sys/time.h>
#include "debug.h"
#include "util.h"

Expand Down
1 change: 1 addition & 0 deletions util.h
Expand Up @@ -3,6 +3,7 @@
/* See LICENSE for licensing information. */

#include <sys/socket.h>
#include <sys/time.h>
#include <netdb.h>

#define SOCKADDR_SIZE(addr) ((addr).ss_family == AF_INET ? \
Expand Down

0 comments on commit 8107c38

Please sign in to comment.