]> git.lyx.org Git - lyx.git/blobdiff - src/support/socktools.cpp
compilation fix on openbsd (bug 5650)
[lyx.git] / src / support / socktools.cpp
index 2b73887d61b44152e723fe032c4603f09d276aef..aac25a2857e15eace0a57affa001fefb44dd104c 100644 (file)
@@ -39,6 +39,9 @@ int accept(int)
 
 #include "support/debug.h"
 
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
 #include <sys/socket.h>
 #include <sys/un.h>
 #include <fcntl.h>