diff options
Diffstat (limited to 'sys/v4l2/gstv4l2object.h')
-rw-r--r-- | sys/v4l2/gstv4l2object.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/v4l2/gstv4l2object.h b/sys/v4l2/gstv4l2object.h index f309bc7d..d08d2743 100644 --- a/sys/v4l2/gstv4l2object.h +++ b/sys/v4l2/gstv4l2object.h @@ -37,10 +37,14 @@ * errors here, check your linux/time.h && sys/time.h header setup. */ #include <sys/types.h> +#ifndef __sun #include <linux/types.h> #define _LINUX_TIME_H #define __user #include <linux/videodev2.h> +#else +#include <sys/videodev2.h> +#endif #include <gst/gst.h> #include <gst/base/gstpushsrc.h> |