They were discovered while compiling on FreeBSD.
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
*/
#include "libv4lconvert-priv.h"
+#include <stdlib.h>
#include <string.h>
#define MAGIC_0 0x19
#include <sys/stat.h>
#include <fcntl.h>
#include <stdlib.h>
+#include <errno.h>
const char *argp_program_version="decode_tm6000 version 0.0.1";
const char *argp_program_bug_address="Mauro Carvalho Chehab <mchehab@infradead.org>";
#include <sys/stat.h>
#include <string.h>
#include <stdlib.h>
-#include <malloc.h>
#include <dirent.h>
+#include <limits.h>
#include "get_media_devices.h"
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
-#include <malloc.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/ioctl.h>