From 317de487ba05408e43299c3ce85ae4d6096372b2 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Mon, 27 Aug 2007 20:05:44 +0000 Subject: [PATCH] Still need the C++ runtime for the C bindings on Solaris; need stdlib.h for various prototypes. git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@705364 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- bindings/c/CMakeLists.txt | 2 +- bindings/c/tag_c.cpp | 1 + examples/tagwriter.cpp | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bindings/c/CMakeLists.txt b/bindings/c/CMakeLists.txt index 629c7ef2..0a92e820 100644 --- a/bindings/c/CMakeLists.txt +++ b/bindings/c/CMakeLists.txt @@ -33,7 +33,7 @@ IF(HAVE_CRUN_LIB) # stlport4 and stdcxx -- make this a mess. We really only # support stdcxx, but won't force the issue here. # - # TARGET_LINK_LIBRARIES(tag_c Cstd Crun) + TARGET_LINK_LIBRARIES(tag_c Crun) ENDIF(HAVE_CRUN_LIB) SET_TARGET_PROPERTIES(tag_c PROPERTIES VERSION 0.0.0 SOVERSION 0 ) diff --git a/bindings/c/tag_c.cpp b/bindings/c/tag_c.cpp index 394e88c6..6fdcc9cc 100644 --- a/bindings/c/tag_c.cpp +++ b/bindings/c/tag_c.cpp @@ -21,6 +21,7 @@ #include "tag_c.h" +#include #include #include #include diff --git a/examples/tagwriter.cpp b/examples/tagwriter.cpp index 859a9a82..0f81e8db 100644 --- a/examples/tagwriter.cpp +++ b/examples/tagwriter.cpp @@ -29,6 +29,7 @@ #include #include #include +#include #include #include