summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mediactl.c1
-rw-r--r--src/v4l2subdev.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/mediactl.c b/src/mediactl.c
index d3eb7bd..4783a58 100644
--- a/src/mediactl.c
+++ b/src/mediactl.c
@@ -25,6 +25,7 @@
#include <sys/stat.h>
#include <sys/types.h>
+#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <stdbool.h>
diff --git a/src/v4l2subdev.c b/src/v4l2subdev.c
index f622a27..1370962 100644
--- a/src/v4l2subdev.c
+++ b/src/v4l2subdev.c
@@ -23,10 +23,12 @@
#include <sys/stat.h>
#include <sys/types.h>
+#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <stdbool.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>