midifactory.cc:91: error: ‘strdup’ was not declared in this scope
The following diff fixed it:
Code: Select all
Index: libs/midi++/midifactory.cc
===================================================================
RCS file: /cvsroot/sooperlooper/sooperlooper/libs/midi++/midifactory.cc,v
retrieving revision 1.1
diff -u -r1.1 midifactory.cc
--- libs/midi++/midifactory.cc 6 Nov 2004 21:07:59 -0000 1.1
+++ libs/midi++/midifactory.cc 21 Mar 2009 19:31:21 -0000
@@ -35,6 +35,8 @@
#include <midi++/coremidi_midiport.h>
#endif // WITH_COREMIDI
+#include <cstring>
+
using namespace std;
using namespace MIDI;