]> gcc.gnu.org Git - gcc.git/blobdiff - boehm-gc/if_not_there.c
Imported version version 6.0alpha7.
[gcc.git] / boehm-gc / if_not_there.c
index a93795f1c785131352045a4f8ab0ea8591d11a77..42dd8034ac7e8d6021dd4a72aec7e038653250c5 100644 (file)
@@ -1,7 +1,9 @@
 /* Conditionally execute a command based if the file argv[1] doesn't exist */
 /* Except for execvp, we stick to ANSI C.                                 */
-# include "gcconfig.h"
+# include "private/gcconfig.h"
 # include <stdio.h>
+# include <stdlib.h>
+# include <unistd.h>
 
 int main(argc, argv, envp)
 int argc;
@@ -16,6 +18,7 @@ char ** envp;
         return(0);
     }
     printf("^^^^Starting command^^^^\n");
+    fflush(stdout);
     execvp(argv[2], argv+2);
     exit(1);
     
This page took 0.027798 seconds and 5 git commands to generate.