summaryrefslogtreecommitdiffstats
path: root/gst/sdp/gstsdpdemux.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/sdp/gstsdpdemux.c')
-rw-r--r--gst/sdp/gstsdpdemux.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/sdp/gstsdpdemux.c b/gst/sdp/gstsdpdemux.c
index 303452c8..be34a22a 100644
--- a/gst/sdp/gstsdpdemux.c
+++ b/gst/sdp/gstsdpdemux.c
@@ -47,7 +47,10 @@
#include "config.h"
#endif
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
+
#include <stdlib.h>
#include <string.h>
#include <locale.h>