]> Dogcows Code - chaz/tar/blobdiff - src/system.c
Fix some C compatibility bugs reported by Joerg Schilling.
[chaz/tar] / src / system.c
index 58069cd771de6b48fcbfa318ce48d1eec554ff15..37d0496a0edc2c49fe19e9742aef31a87d565b8d 100644 (file)
@@ -20,6 +20,7 @@
 
 #include "common.h"
 #include "rmt.h"
+#include <signal.h>
 
 #if MSDOS
 
@@ -214,7 +215,7 @@ sys_spawn_shell ()
   child = xfork ();
   if (child == 0)
     {
-      execlp (shell, "-sh", "-i", 0);
+      execlp (shell, "-sh", "-i", (char *) 0);
       exec_fatal (shell);
     }
   else
This page took 0.023318 seconds and 4 git commands to generate.