- fix build with gcc-4.3, take 3

This commit is contained in:
Dominik Mierzejewski 2008-01-06 18:29:11 +00:00
parent 5abb7c16d5
commit c78e39f074
1 changed files with 23 additions and 0 deletions

View File

@ -1,3 +1,15 @@
diff -up openbabel-2.1.1/src/zipstreamimpl.h.gcc43 openbabel-2.1.1/src/zipstreamimpl.h
--- openbabel-2.1.1/src/zipstreamimpl.h.gcc43 2006-12-28 16:19:05.000000000 +0100
+++ openbabel-2.1.1/src/zipstreamimpl.h 2008-01-06 19:28:16.000000000 +0100
@@ -31,6 +31,8 @@ Altered by: Geoffrey Hutchison 2005 for
minor namespace modifications, VC++ compatibility
*/
+#include <string.h>
+
//*****************************************************************************
// template class basic_zip_streambuf
//*****************************************************************************
diff -up openbabel-2.1.1/src/fingerprint.cpp.gcc43 openbabel-2.1.1/src/fingerprint.cpp
--- openbabel-2.1.1/src/fingerprint.cpp.gcc43 2007-06-02 15:56:31.000000000 +0200
+++ openbabel-2.1.1/src/fingerprint.cpp 2008-01-06 19:17:45.000000000 +0100
@ -10,6 +22,17 @@ diff -up openbabel-2.1.1/src/fingerprint.cpp.gcc43 openbabel-2.1.1/src/fingerpri
#include <fstream>
#include <openbabel/fingerprint.h>
diff -up openbabel-2.1.1/include/openbabel/obconversion.h.gcc43 openbabel-2.1.1/include/openbabel/obconversion.h
--- openbabel-2.1.1/include/openbabel/obconversion.h.gcc43 2007-06-02 15:56:37.000000000 +0200
+++ openbabel-2.1.1/include/openbabel/obconversion.h 2008-01-06 19:26:57.000000000 +0100
@@ -28,6 +28,7 @@ GNU General Public License for more deta
#include <string>
#include <vector>
#include <map>
+#include <strings.h>
#include <openbabel/dlhandler.h>
#include <openbabel/oberror.h>
diff -up openbabel-2.1.1/include/openbabel/data.h.gcc43 openbabel-2.1.1/include/openbabel/data.h
--- openbabel-2.1.1/include/openbabel/data.h.gcc43 2007-04-14 02:34:14.000000000 +0200
+++ openbabel-2.1.1/include/openbabel/data.h 2008-01-06 19:03:06.000000000 +0100