Add FreeBSD define and include for <sys/types.h> where <linux/types.h> is used
Compile fix: FreeBSD uses <sys/types.h> instead of the linux version <linux/types.h>, so this patch changes the include by Q_OS_FREEBSD define. Change-Id: Iafe18614ad2360dce9858039b22f9b6c2dd9caaa Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
@@ -40,7 +40,11 @@
|
||||
|
||||
#include <qradiotunercontrol.h>
|
||||
|
||||
#if defined(Q_OS_FREEBSD)
|
||||
#include <sys/types.h>
|
||||
#else
|
||||
#include <linux/types.h>
|
||||
#endif
|
||||
#include <sys/time.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <linux/videodev2.h>
|
||||
|
||||
Reference in New Issue
Block a user