$NetBSD: patch-ae,v 1.2 2012/10/20 22:11:30 joerg Exp $ Fix 64-bit build. --- runtime/debugcom.c~ 1997-06-27 09:59:02.000000000 -0400 +++ runtime/debugcom.c 2008-09-04 21:11:39.000000000 -0400 @@ -2,6 +2,8 @@ #include #include +#include +#include /* for inet_addr() */ #include "misc.h" #include "debugger.h" #include "mlvalues.h" @@ -182,7 +184,7 @@ int debugger(event) value val; value * p; - if (dbg_socket == -1) return; /* Not connected to a debugger. */ + if (dbg_socket == -1) return -1; /* Not connected to a debugger. */ /* Report the event to the debugger */ switch(event) {