fix the last commit up to compile

This commit is contained in:
Ray Strode 2007-05-14 15:28:10 -04:00
parent 9ec699290d
commit 043a5ee2c7
2 changed files with 7 additions and 1 deletions

View file

@ -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);

View file

@ -23,6 +23,7 @@
#define PLY_UTILS_H
#include <stdint.h>
#include <stdbool.h>
#ifndef MIN
#define MIN(a,b) ((a) <= (b)? (a) : (b))