]> git.lyx.org Git - lyx.git/blobdiff - src/client/client.C
cleanup some debug messages
[lyx.git] / src / client / client.C
index 8339c1fe598b0aadc3ca4346fd1ae2006fd57bc9..4cc3ab70ac509d7fff3c298c628b3bee7fb2fb03 100644 (file)
 #include <boost/scoped_ptr.hpp>
 
 // getpid(), getppid()
-#include <sys/types.h>
-#include <unistd.h>
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
 
 // select()
-#include <sys/select.h>
+#ifdef HAVE_SYS_SELECT_H
+# include <sys/select.h>
+#endif
 
 // socket(), connect()
-#include <sys/socket.h>
+#ifdef HAVE_SYS_SOCKET_H
+# include <sys/socket.h>
+#endif
 #include <sys/un.h>
 
 // fcntl()