--- a/src/chan_sccp.h
+++ b/src/chan_sccp.h
@@ -32,6 +32,7 @@ extern "C" {
 #include "common.h"
 #include <poll.h>
 #include "asterisk/compiler.h"
+#include <stdarg.h>
 #include "asterisk/lock.h"
 #include "asterisk/abstract_jb.h"