X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=test%2Flib%2FForkAndExec.cpp;h=753e06ee88f680104886cc9cc1140f5e9324ef72;hb=193c7ee91c4f97a160a1e4bf572929ab99a276f3;hp=ac30dd0282195e4430019d61901bf9abd1078d0e;hpb=6902b8f64cb873d294e75867a8150bc1e13f9bed;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) {