Prefer std::vector<> over C-style malloc/free**
[ardour.git] / libs / audiographer / audiographer / debug_utils.h
index a1dad22eaf63526ade18f56498a10c28bccb1f6d..410567d51b7cb74537fee9113af13b7dd2430742 100644 (file)
@@ -8,13 +8,16 @@
 
 #ifdef __GNUC__
 #include <cxxabi.h>
+#include <cstdlib>
 #endif
 
+#include "audiographer/visibility.h"
+
 namespace AudioGrapher
 {
 
 /// Utilities for debugging
-struct DebugUtils
+struct LIBAUDIOGRAPHER_API DebugUtils
 {
        /// Returns the demangled name of the object passed as the parameter
        template<typename T>
@@ -31,7 +34,7 @@ struct DebugUtils
 #endif
                return typeid(obj).name();
        }
-       
+
        /// Returns name of ProcessContext::Flag
        static std::string process_context_flag_name (FlagField::Flag flag);
 };