Fix memory leak in btr_splice_out_node().
[paraslash.git] / exec.c
diff --git a/exec.c b/exec.c
index 7fc4ae069e0ad70902aaa1c9ff2e9721212e7392..5f48436d2b2fe8ff29cdb88a49971acdd5b32acd 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -1,16 +1,17 @@
 /*
- * Copyright (C) 2003-2009 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2003-2014 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
 
 /** \file exec.c Helper functions for spawning new processes. */
-#include <dirent.h>
+
+#include <regex.h>
+
 #include "para.h"
-#include "close_on_fork.h"
 #include "error.h"
-#include "string.h"
 #include "fd.h"
+#include "string.h"
 
 /**
  * Spawn a new process and redirect fd 0, 1, and 2.