diff options
author | Tor Egge <Tor.Egge@broadpark.no> | 2019-08-01 13:00:47 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@broadpark.no> | 2019-08-01 13:00:47 +0200 |
commit | 48a75f45ddf7cc15fbf908dbf48223802bf8b4d2 (patch) | |
tree | 7b5974c481c8cefda409dc6f7902be3cf7914129 /vespalib | |
parent | b3cff606d0314b6815a7800f263aa47aad99d5f4 (diff) |
Add includes needed when using clang (on mac).
Diffstat (limited to 'vespalib')
-rw-r--r-- | vespalib/src/vespa/vespalib/net/socket_address.cpp | 1 | ||||
-rw-r--r-- | vespalib/src/vespa/vespalib/stllike/hashtable.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/vespalib/src/vespa/vespalib/net/socket_address.cpp b/vespalib/src/vespa/vespalib/net/socket_address.cpp index d71441b0989..1a7a04b2925 100644 --- a/vespalib/src/vespa/vespalib/net/socket_address.cpp +++ b/vespalib/src/vespa/vespalib/net/socket_address.cpp @@ -8,6 +8,7 @@ #include <ifaddrs.h> #include <netdb.h> #include <cassert> +#include <cerrno> namespace vespalib { diff --git a/vespalib/src/vespa/vespalib/stllike/hashtable.cpp b/vespalib/src/vespa/vespalib/stllike/hashtable.cpp index 9c0db3ae817..52639fd6275 100644 --- a/vespalib/src/vespa/vespalib/stllike/hashtable.cpp +++ b/vespalib/src/vespa/vespalib/stllike/hashtable.cpp @@ -1,5 +1,6 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/vespalib/stllike/hashtable.hpp> +#include <algorithm> namespace { |