Bug 53905

Summary: compilation stops because of strdup() undefined
Product: arts Reporter: Cyril Plisko <Cyril.Plisko>
Component: generalAssignee: Stefan Westerfeld <stefan>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed In:

Description Cyril Plisko 2003-02-02 14:38:57 UTC
Version:            (using KDE KDE 3.1)
Installed from:    Compiled From Sources
Compiler:          CC: S1SCC 8 C++ 5.5 EA1 2002/11/07  (Solaris/SPARC) 
OS:          Solaris

arts-1.1/mcop/{tcp,unix}connection.cc compilation bails out
because of absence of #include <string.h> which declares
strdup()
Comment 1 George Staikos 2003-06-27 01:24:51 UTC
Subject: ARTS_1_1_BRANCH: arts/mcop

CVS commit by staikos: 

Apply the patch for 53905.

It's been sitting there for over 4 months now.  :(

CCMAIL: 53905-done@bugs.kde.org


  M +1 -0      connection.cc   1.14.6.2


--- arts/mcop/connection.cc  #1.14.6.1:1.14.6.2
@@ -25,4 +25,5 @@
 #include "debug.h"
 #include <stdio.h>
+#include <string.h> // for Solaris
 #include <queue>
 #include <algorithm>