From 4dbf7c113182be27e4bdcacf67847118966298b4 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Sat, 12 Nov 2011 23:58:32 +0100 Subject: Explicitly define _BSD_SOURCE for asprintf on (open)bsd asprintf isnt declared since we define also _POSIX_C_SOURCE, so an explicit _BSD_SOURCE to get non posix/ansi prototypes. --- src/pjctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pjctl.c b/src/pjctl.c index 94e9ab5..69be760 100644 --- a/src/pjctl.c +++ b/src/pjctl.c @@ -18,6 +18,7 @@ */ #define _POSIX_C_SOURCE 200112L +#define _BSD_SOURCE #define _GNU_SOURCE #include -- cgit