summaryrefslogtreecommitdiff
path: root/main/iostream.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2016-11-28 13:36:18 +0000
committerJoshua Colp <jcolp@digium.com>2016-11-28 13:36:54 +0000
commite3dae763ee77485bcbcf8818d2b8c9570afe3013 (patch)
tree2c4e9da0b540bcb1be973e21081963dafb6cace9 /main/iostream.c
parentd9b24cce0add96061a0b1e0f135b3148789af5ac (diff)
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
Diffstat (limited to 'main/iostream.c')
-rw-r--r--main/iostream.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/iostream.c b/main/iostream.c
index 46abc18a5..008888142 100644
--- a/main/iostream.c
+++ b/main/iostream.c
@@ -16,10 +16,11 @@
* at the top of the source tree.
*/
+#include "asterisk.h"
+
#include <fcntl.h>
#include <stdarg.h>
-#include "asterisk.h"
#include "asterisk/utils.h"
#include "asterisk/astobj2.h"
#include "asterisk/iostream.h"