X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=test%2Flib%2FForkAndExec.cpp;h=753e06ee88f680104886cc9cc1140f5e9324ef72;hb=4debceb95ebab23b83c7ebcf153bb321d16b4d52;hp=e182c7c47dcf55c11f493c71ccc207c220054a0b;hpb=9f262c9ea92d4869715ca6f534c80075a8310ac1;p=awesomized%2Flibmemcached diff --git a/test/lib/ForkAndExec.cpp b/test/lib/ForkAndExec.cpp index e182c7c4..753e06ee 100644 --- a/test/lib/ForkAndExec.cpp +++ b/test/lib/ForkAndExec.cpp @@ -1,11 +1,13 @@ #include "ForkAndExec.hpp" -#include #include #include #include -#include +#if HAVE_UNISTD_H +# include +#endif +#include #if !HAVE_PIPE2 static inline int setfl(int fd, int newflags) {