diff options
author | Andreas Bombe <aeb@debian.org> | 2013-02-18 01:12:44 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2013-03-25 23:02:49 +0100 |
commit | 1eebbfc71eff2dc7dadab84f0c4d7ef8df8b2faf (patch) | |
tree | c201e26ca629f78d0c3f406e8ccaabd1264834b1 /src | |
parent | 29cf037a9a7e6276e42b91c4866f4ace8e5c0d92 (diff) |
Add missing stdlib.h and ctype.h includes
src/mediactl.c needs ctype.h for its use of isspace().
src/v4l2subdev.c needs stdlib.h for strtoul() and ctype.h for isspace()
and isupper().
Signed-off-by: Andreas Bombe <aeb@debian.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mediactl.c | 1 | ||||
-rw-r--r-- | src/v4l2subdev.c | 2 |
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> |