X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Fforkedcontr.h;h=7f55c798d06e15bfdcdc77b045a995e5c286c5fd;hb=c8429d4bbc2e9291a6b5742233aecb089a3eece1;hp=2eb43990cc596f5c550ff626202fabf471c161e4;hpb=b45cbe936e8c46acdba3b8c41e223188afe9d7a5;p=lyx.git diff --git a/src/support/forkedcontr.h b/src/support/forkedcontr.h index 2eb43990cc..7f55c798d0 100644 --- a/src/support/forkedcontr.h +++ b/src/support/forkedcontr.h @@ -18,17 +18,14 @@ #include -#include // needed for pid_t +#ifdef HAVE_SYS_TYPES_H +# include +#endif #include #include #include -// pid_t isn't defined by the stdlibs that ship with MSVC. -#if defined (_WIN32) && defined(_MSC_VER) -typedef int pid_t; -#endif - namespace lyx { namespace support {