#include <string.h> /* strerror() */
#include <unistd.h> /* close(), write() */
+#include "threads.h"
#include "config.h"
#include "common.h"
#include "mtime.h"
-#include "threads.h"
+#include "plugins.h"
#include "intf_msg.h"
#include "interface.h"
#include "intf_console.h"
/*
* Convert message to string
*/
+#ifdef SYS_BEOS
+ psz_str = (char*) malloc( INTF_MAX_MSG_SIZE );
+ vsprintf( psz_str, psz_format, ap );
+#else
vasprintf( &psz_str, psz_format, ap );
+#endif
if( psz_str == NULL )
{
fprintf(stderr, "warning: can't store following message (%s): ",
/*
* Convert message to string
*/
+#ifdef SYS_BEOS
+ psz_str = (char*) malloc( INTF_MAX_MSG_SIZE );
+ vsprintf( psz_str, psz_format, ap );
+#else
vasprintf( &psz_str, psz_format, ap );
+#endif
if( psz_str == NULL )
{
fprintf(stderr, "warning: can't store following message (%s): ",