changeset 25399:45d3ecc4c7e0

Use correct #include for waitpid, fixes the warning: unrar_exec.c:127: warning: implicit declaration of function 'waitpid'
author diego
date Mon, 17 Dec 2007 00:11:33 +0000
parents 1da7ab18df33
children fb8ad8ae4dfd
files unrar_exec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/unrar_exec.c	Sun Dec 16 23:57:34 2007 +0000
+++ b/unrar_exec.c	Mon Dec 17 00:11:33 2007 +0000
@@ -21,7 +21,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include <sys/types.h>
+#include <sys/wait.h>
 #include <unistd.h>
 #include <fcntl.h>
 #include <stdlib.h>