From 043a5ee2c78cc35c061004454587305a5c906bbb Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Mon, 14 May 2007 15:28:10 -0400 Subject: [PATCH] fix the last commit up to compile --- src/ply-utils.c | 7 ++++++- src/ply-utils.h | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ply-utils.c b/src/ply-utils.c index 81268b43..38b2d722 100644 --- a/src/ply-utils.c +++ b/src/ply-utils.c @@ -2,11 +2,16 @@ #include "ply-utils.h" +#include +#include +#include +#include + bool ply_open_unidirectional_pipe (int *sender_fd, int *receiver_fd) { - init pipe_fds[2]; + int pipe_fds[2]; assert (sender_fd != NULL); assert (receiver_fd != NULL); diff --git a/src/ply-utils.h b/src/ply-utils.h index 3d7925ac..6c21c8e1 100644 --- a/src/ply-utils.h +++ b/src/ply-utils.h @@ -23,6 +23,7 @@ #define PLY_UTILS_H #include +#include #ifndef MIN #define MIN(a,b) ((a) <= (b)? (a) : (b))