]> git.lyx.org Git - features.git/commitdiff
Fix compilation problems on Mac OSX 10.5.2 Leopard.
authorPavel Sanda <sanda@lyx.org>
Sat, 29 Mar 2008 01:45:24 +0000 (01:45 +0000)
committerPavel Sanda <sanda@lyx.org>
Sat, 29 Mar 2008 01:45:24 +0000 (01:45 +0000)
( http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg137757.html )

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24024 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/convert.cpp
src/support/socktools.cpp

index 125d40492c97eeef2662a5c0b9bcb2a204efd87f..a9e3e7e5cbeb5ea1dd3f7ce7b8a7599fae78646b 100644 (file)
@@ -17,6 +17,7 @@
 #include <boost/lexical_cast.hpp>
 
 #include <string>
+#include <cstdlib>
 
 using namespace std;
 
index 25e9716e4967c38bbb94aae4ba9ab400b1f86ea1..3b9574871f3ed94e99d49997e7e718e99667a651 100644 (file)
@@ -48,6 +48,7 @@ int accept(int)
 
 #include <cerrno>
 #include <string>
+#include <cstring>
 
 using namespace std;