From: Joshua Colp Date: Mon, 28 Nov 2016 13:36:18 +0000 (+0000) Subject: iostream: Move include of asterisk.h X-Git-Tag: 15.0.0-beta1~483 X-Git-Url: http://git.asterisk.org/gitweb/?p=asterisk%2Fasterisk.git;a=commitdiff_plain;h=e3dae763ee77485bcbcf8818d2b8c9570afe3013 iostream: Move include of asterisk.h The asterisk.h header file needs to be included first or else some things go awry, such as: implicit declaration of function 'vasprintf' Change-Id: I981dc2a77a1ba791888e4f1726644d4656c0407c --- diff --git a/main/iostream.c b/main/iostream.c index 46abc18..0088881 100644 --- a/main/iostream.c +++ b/main/iostream.c @@ -16,10 +16,11 @@ * at the top of the source tree. */ +#include "asterisk.h" + #include #include -#include "asterisk.h" #include "asterisk/utils.h" #include "asterisk/astobj2.h" #include "asterisk/iostream.h"