aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/skype/skype.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/skype/skype.c')
-rw-r--r--protocols/skype/skype.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/skype/skype.c b/protocols/skype/skype.c
index d42d98eb..ade5b8c6 100644
--- a/protocols/skype/skype.c
+++ b/protocols/skype/skype.c
@@ -20,7 +20,6 @@
*/
#define _XOPEN_SOURCE
-#define _BSD_SOURCE
#include <poll.h>
#include <stdio.h>
#include <bitlbee.h>
@@ -187,7 +186,7 @@ int skype_printf(struct im_connection *ic, char *fmt, ...)
char str[IRC_LINE_SIZE];
va_start(args, fmt);
- vsnprintf(str, IRC_LINE_SIZE, fmt, args);
+ g_vsnprintf(str, IRC_LINE_SIZE, fmt, args);
va_end(args);
return skype_write(ic, str, strlen(str));