diff options
| author | Ray Strode <rstrode@redhat.com> | 2007-05-14 15:28:10 -0400 |
|---|---|---|
| committer | Ray Strode <rstrode@redhat.com> | 2007-05-14 15:28:10 -0400 |
| commit | 043a5ee2c78cc35c061004454587305a5c906bbb (patch) | |
| tree | edec9d33e51629b8e73fa1c21382d64ed00918a3 /src | |
| parent | 9ec699290d847e9c6e69bb982a3f98913db91747 (diff) | |
fix the last commit up to compile
Diffstat (limited to 'src')
| -rw-r--r-- | src/ply-utils.c | 7 | ||||
| -rw-r--r-- | src/ply-utils.h | 1 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ply-utils.c b/src/ply-utils.c index 81268b4..38b2d72 100644 --- a/src/ply-utils.c +++ b/src/ply-utils.c @@ -2,11 +2,16 @@ #include "ply-utils.h" +#include <assert.h> +#include <fcntl.h> +#include <stdlib.h> +#include <sys/types.h> + 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 3d7925a..6c21c8e 100644 --- a/src/ply-utils.h +++ b/src/ply-utils.h @@ -23,6 +23,7 @@ #define PLY_UTILS_H #include <stdint.h> +#include <stdbool.h> #ifndef MIN #define MIN(a,b) ((a) <= (b)? (a) : (b)) |
