[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DJB alternative for pipe()?



On Feb 4, 2008, at 5:21 PM, Sami Farin wrote:
On Mon, Feb 04, 2008 at 17:06:51 -0500, Thaddeus Quintin wrote:
Since qmail doesn't include unistd.h, what's the best alternative?

Adding the following line in the beginning of the affected source files:


#include <unistd.h>


Good old Occam's razor, huh? For sure that's an option, but I wanted to see if there was anything in the already included libraries. I mean, the guy provides his own IO library for Pete's sake.


Anyone else?

Thaddeus