From 553f3ea51302ac9f7c946457c7914dfee380f3a6 Mon Sep 17 00:00:00 2001 From: irungentoo Date: Mon, 20 Jul 2015 22:21:53 -0400 Subject: [PATCH] Fixed some strange build issues. --- toxav/codec.c | 2 +- toxav/msi.c | 3 +-- toxav/msi.h | 3 --- toxav/rtp.c | 2 +- 4 files changed, 3 insertions(+), 7 deletions(-) diff --git a/toxav/codec.c b/toxav/codec.c index de802526..ae146ccf 100644 --- a/toxav/codec.c +++ b/toxav/codec.c @@ -26,6 +26,7 @@ #include "config.h" #endif /* HAVE_CONFIG_H */ +#include "codec.h" #include "../toxcore/logger.h" #include "../toxcore/util.h" @@ -37,7 +38,6 @@ #include "msi.h" #include "rtp.h" -#include "codec.h" /* Good quality encode. */ #define MAX_DECODE_TIME_US 0 diff --git a/toxav/msi.c b/toxav/msi.c index dcb7b62a..97ba936c 100644 --- a/toxav/msi.c +++ b/toxav/msi.c @@ -24,11 +24,10 @@ #include "config.h" #endif /* HAVE_CONFIG_H */ +#include "msi.h" #include "../toxcore/logger.h" #include "../toxcore/util.h" -#include "msi.h" - #include #include #include diff --git a/toxav/msi.h b/toxav/msi.h index 660df05e..6a00def6 100644 --- a/toxav/msi.h +++ b/toxav/msi.h @@ -22,9 +22,6 @@ #ifndef __TOXMSI #define __TOXMSI -#include -#include - #include "codec.h" #include "../toxcore/Messenger.h" diff --git a/toxav/rtp.c b/toxav/rtp.c index ccac7564..95d3bf3d 100644 --- a/toxav/rtp.c +++ b/toxav/rtp.c @@ -23,10 +23,10 @@ #include "config.h" #endif /* HAVE_CONFIG_H */ +#include "rtp.h" #include "../toxcore/logger.h" #include "../toxcore/util.h" -#include "rtp.h" #include void queue_message(RTPSession *_session, RTPMessage *_msg);