contrib/chg/chg.c
changeset 30693 baee0f47b533
parent 30692 23ddd43ba866
child 30741 fde9692a02c0
--- a/contrib/chg/chg.c	Mon Jan 02 14:43:37 2017 +0000
+++ b/contrib/chg/chg.c	Mon Jan 02 14:57:14 2017 +0000
@@ -23,6 +23,7 @@
 #include <unistd.h>
 
 #include "hgclient.h"
+#include "procutil.h"
 #include "util.h"
 
 #ifndef PATH_MAX
@@ -303,8 +304,6 @@
 	}
 }
 
-#include "procutil.c"
-
 /* Run instructions sent from the server like unlink and set redirect path
  * Return 1 if reconnect is needed, otherwise 0 */
 static int runinstructions(struct cmdserveropts *opts, const char **insts)