Remove cleanups from link_callbacks_einfo
[deliverable/binutils-gdb.git] / gdb / bsd-kvm.c
index 8c2139462dc51d8426019e9600cb4e3a2e79af84..3d013b4e1d267f06bdbfbfd1a2f3508099373fa4 100644 (file)
@@ -37,7 +37,9 @@
 #include "readline/readline.h"
 #include <sys/param.h>
 #include <sys/proc.h>
+#ifdef HAVE_SYS_USER_H
 #include <sys/user.h>
+#endif
 
 #include "bsd-kvm.h"
 
@@ -269,7 +271,7 @@ bsd_kvm_fetch_registers (struct target_ops *ops,
 struct cmd_list_element *bsd_kvm_cmdlist;
 
 static void
-bsd_kvm_cmd (char *arg, int fromtty)
+bsd_kvm_cmd (const char *arg, int fromtty)
 {
   /* ??? Should this become an alias for "target kvm"?  */
 }
This page took 0.023962 seconds and 4 git commands to generate.