#include <boost/shared_ptr.hpp>
-#include <sys/types.h> // needed for pid_t
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
#include <list>
#include <string>
#include <vector>
-// 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 {