X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=test%2Flib%2FForkAndExec.cpp;h=753e06ee88f680104886cc9cc1140f5e9324ef72;hb=dfdcce95b625e98144c1681f05b337648b92f20f;hp=ac30dd0282195e4430019d61901bf9abd1078d0e;hpb=a1b265e9eba018e9ea510c9224953c27fc271bc9;p=awesomized%2Flibmemcached diff --git a/test/lib/ForkAndExec.cpp b/test/lib/ForkAndExec.cpp index ac30dd02..753e06ee 100644 --- a/test/lib/ForkAndExec.cpp +++ b/test/lib/ForkAndExec.cpp @@ -4,7 +4,10 @@ #include #include -#include +#if HAVE_UNISTD_H +# include +#endif +#include #if !HAVE_PIPE2 static inline int setfl(int fd, int newflags) {