summaryrefslogtreecommitdiff
path: root/toxav
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2015-07-20 22:21:53 -0400
committerirungentoo <irungentoo@gmail.com>2015-07-20 22:21:53 -0400
commit553f3ea51302ac9f7c946457c7914dfee380f3a6 (patch)
treefba36b9391c6a55f3d63b114bc769b5c89ec0fa1 /toxav
parent05ad1234d29f8b1cd4fde83b6c893223d39d69d0 (diff)
Fixed some strange build issues.
Diffstat (limited to 'toxav')
-rw-r--r--toxav/codec.c2
-rw-r--r--toxav/msi.c3
-rw-r--r--toxav/msi.h3
-rw-r--r--toxav/rtp.c2
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 @@
26#include "config.h" 26#include "config.h"
27#endif /* HAVE_CONFIG_H */ 27#endif /* HAVE_CONFIG_H */
28 28
29#include "codec.h"
29#include "../toxcore/logger.h" 30#include "../toxcore/logger.h"
30#include "../toxcore/util.h" 31#include "../toxcore/util.h"
31 32
@@ -37,7 +38,6 @@
37 38
38#include "msi.h" 39#include "msi.h"
39#include "rtp.h" 40#include "rtp.h"
40#include "codec.h"
41 41
42/* Good quality encode. */ 42/* Good quality encode. */
43#define MAX_DECODE_TIME_US 0 43#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 @@
24#include "config.h" 24#include "config.h"
25#endif /* HAVE_CONFIG_H */ 25#endif /* HAVE_CONFIG_H */
26 26
27#include "msi.h"
27#include "../toxcore/logger.h" 28#include "../toxcore/logger.h"
28#include "../toxcore/util.h" 29#include "../toxcore/util.h"
29 30
30#include "msi.h"
31
32#include <unistd.h> 31#include <unistd.h>
33#include <string.h> 32#include <string.h>
34#include <stdlib.h> 33#include <stdlib.h>
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 @@
22#ifndef __TOXMSI 22#ifndef __TOXMSI
23#define __TOXMSI 23#define __TOXMSI
24 24
25#include <inttypes.h>
26#include <pthread.h>
27
28#include "codec.h" 25#include "codec.h"
29#include "../toxcore/Messenger.h" 26#include "../toxcore/Messenger.h"
30 27
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 @@
23#include "config.h" 23#include "config.h"
24#endif /* HAVE_CONFIG_H */ 24#endif /* HAVE_CONFIG_H */
25 25
26#include "rtp.h"
26#include "../toxcore/logger.h" 27#include "../toxcore/logger.h"
27#include "../toxcore/util.h" 28#include "../toxcore/util.h"
28 29
29#include "rtp.h"
30#include <stdlib.h> 30#include <stdlib.h>
31void queue_message(RTPSession *_session, RTPMessage *_msg); 31void queue_message(RTPSession *_session, RTPMessage *_msg);
32 32