Merge working tree with build tree.
[m6w6/libmemcached] / libtest / port.cc
index b6820335f1c3d610874da501710c67c219fe5006..fefb6a6d394ada0c72b0c480b61b7b38c140a406 100644 (file)
@@ -19,6 +19,7 @@
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#include <config.h>
 #include <libtest/common.h>
 
 #include <cassert>
@@ -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;