X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Fport.cc;h=fefb6a6d394ada0c72b0c480b61b7b38c140a406;hb=3998b1125e1b9f8ebd2c963aa6f8d60131bc97c4;hp=b6820335f1c3d610874da501710c67c219fe5006;hpb=1d6aaf09ebb2aafad07307f736d7bab6fdb79d2c;p=m6w6%2Flibmemcached diff --git a/libtest/port.cc b/libtest/port.cc index b6820335..fefb6a6d 100644 --- a/libtest/port.cc +++ b/libtest/port.cc @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include #include #include @@ -116,7 +117,7 @@ in_port_t get_free_port() // We handle the case where if we max out retries, we still abort. if (ret_port <= 1024) { - throw fatal_message("No port could be found"); + fatal_message("No port could be found"); } return ret_port;