X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=libtest%2Fport.cc;h=fefb6a6d394ada0c72b0c480b61b7b38c140a406;hb=a397e6d2b5ceace14df3aa96fdbba65120026c31;hp=b6820335f1c3d610874da501710c67c219fe5006;hpb=9c5fa1db34c5fb1ffed88742caeffa5a9afd0a9e;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;