]> git.lyx.org Git - lyx.git/blobdiff - src/support/forkedcall.h
hopefully fix tex2lyx linking.
[lyx.git] / src / support / forkedcall.h
index 951b08d4cfbad3f23bfe359ceb3cfb3d3e099657..8d0c9fa443a50ab94cfb1d7c1d4f5a667d14ec98 100644 (file)
 #include <boost/shared_ptr.hpp>
 #include <boost/signal.hpp>
 
-#include <sys/types.h>
-
-// pid_t isn't defined by the stdlibs that ship with MSVC.
-#if defined (_WIN32) && defined(_MSC_VER)
-typedef int pid_t;
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
 #endif