summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
Diffstat (limited to 'stream')
-rw-r--r--stream/librtsp/rtsp_rtp.h1
-rw-r--r--stream/librtsp/rtsp_session.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/stream/librtsp/rtsp_rtp.h b/stream/librtsp/rtsp_rtp.h
index ffdc806add..ea96150777 100644
--- a/stream/librtsp/rtsp_rtp.h
+++ b/stream/librtsp/rtsp_rtp.h
@@ -21,6 +21,7 @@
#ifndef MPLAYER_RTSP_RTP_H
#define MPLAYER_RTSP_RTP_H
+#include <sys/types.h>
#include "rtsp.h"
#define MAX_PREVIEW_SIZE 4096
diff --git a/stream/librtsp/rtsp_session.h b/stream/librtsp/rtsp_session.h
index 53f0f3ea10..15fef5b5d0 100644
--- a/stream/librtsp/rtsp_session.h
+++ b/stream/librtsp/rtsp_session.h
@@ -31,6 +31,8 @@
#ifndef MPLAYER_RTSP_SESSION_H
#define MPLAYER_RTSP_SESSION_H
+#include <stdint.h>
+
typedef struct rtsp_session_s rtsp_session_t;
rtsp_session_t *rtsp_session_start(int fd, char **mrl, char *path, char *host,