Skip to content

Commit f9126e6

Browse files
committed
common/pick_address: add missing includes
Signed-off-by: Max Kellermann <[email protected]>
1 parent 0ea0e10 commit f9126e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/common/pick_address.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include "common/pick_address.h"
1616

1717
#include <bitset>
18+
#include <ifaddrs.h> // for struct ifaddrs
1819
#include <netdb.h>
1920
#include <netinet/in.h>
2021
#ifdef _WIN32
@@ -40,6 +41,7 @@
4041
#include "common/debug.h"
4142
#include "common/errno.h"
4243
#include "common/numa.h"
44+
#include "common/safe_io.h"
4345

4446
#ifndef HAVE_IN_ADDR_T
4547
typedef uint32_t in_addr_t;

0 commit comments

Comments
 (0)