Browse Source

Merge pull request #628 from ryankopf/master

Function abort_process is not defined unless we are using timers.
bel2125 7 years ago
parent
commit
12f149fa64
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/civetweb.c

+ 2 - 0
src/civetweb.c

@@ -11103,7 +11103,9 @@ done:
 
 #if defined(USE_TIMERS)
 	if (pid != (pid_t)-1) {
+#if defined(USE_TIMERS)
 		abort_process((void *)pid);
+#endif
 	}
 #endif /* USE_TIMERS */
 	if (fdin[0] != -1) {