summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/app/appsrc_ex.c1
-rw-r--r--examples/switch/switcher.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/examples/app/appsrc_ex.c b/examples/app/appsrc_ex.c
index 170001d2..5773aabe 100644
--- a/examples/app/appsrc_ex.c
+++ b/examples/app/appsrc_ex.c
@@ -11,6 +11,7 @@
#include <stdio.h>
#include <string.h>
+#include <stdlib.h>
typedef struct _App App;
diff --git a/examples/switch/switcher.c b/examples/switch/switcher.c
index 2faa26c7..42c6d585 100644
--- a/examples/switch/switcher.c
+++ b/examples/switch/switcher.c
@@ -21,6 +21,8 @@
#include "config.h"
#endif
#include <string.h>
+#include <stdlib.h>
+
#include <gst/gst.h>