summaryrefslogtreecommitdiff
path: root/protocols/Tox/include/toxav.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/include/toxav.h')
-rw-r--r--protocols/Tox/include/toxav.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/protocols/Tox/include/toxav.h b/protocols/Tox/include/toxav.h
index 8881fdcf3a..7285f45cc6 100644
--- a/protocols/Tox/include/toxav.h
+++ b/protocols/Tox/include/toxav.h
@@ -22,6 +22,7 @@
#ifndef __TOXAV
#define __TOXAV
+#include <inttypes.h>
#ifdef __cplusplus
extern "C" {
@@ -36,8 +37,8 @@ typedef void ( *ToxAVCallback ) ( void *agent, int32_t call_idx, void *arg );
typedef void ( *ToxAvAudioCallback ) (void *agent, int32_t call_idx, const int16_t *PCM, uint16_t size, void *data);
typedef void ( *ToxAvVideoCallback ) (void *agent, int32_t call_idx, const vpx_image_t *img, void *data);
-#ifndef __TOX_DEFINED__
-#define __TOX_DEFINED__
+#ifndef TOX_DEFINED
+#define TOX_DEFINED
typedef struct Tox Tox;
#endif