20000-05-18 H.J. Lu (hjl@gnu.org)
[binutils-gdb.git] / gdb / remote-rdp.c
index ef45ca368521ec723ce2745828cc813d53073b84..e193abb4bf58c8f728b3e24a27bb34abc60c70b8 100644 (file)
@@ -38,7 +38,7 @@
 
 #include "defs.h"
 #include "inferior.h"
-#include "wait.h"
+#include "gdb_wait.h"
 #include "value.h"
 #include "callback.h"
 #include "command.h"
@@ -480,7 +480,7 @@ send_rdp (char *template,...)
          abort ();
        }
     }
-  va_end (args);
+  va_end (alist);
 
   if (dst != buf)
     abort ();