[PATCH] clients: fix build on Linux

Olivier Fourdan ofourdan at redhat.com
Thu Jan 14 05:46:14 PST 2016


Cannot find out why stropts.h is needed and Linux doesn't support
streams anyway, so there is no stropts.h.

Signed-off-by: Olivier Fourdan <ofourdan at redhat.com>
---
 clients/simple-dmabuf-v4l.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/clients/simple-dmabuf-v4l.c b/clients/simple-dmabuf-v4l.c
index 2334e09..29e41ac 100644
--- a/clients/simple-dmabuf-v4l.c
+++ b/clients/simple-dmabuf-v4l.c
@@ -34,7 +34,6 @@
 
 #include <drm_fourcc.h>
 
-#include <stropts.h>
 #include <sys/mman.h>
 #include <sys/stat.h>
 #include <fcntl.h>
-- 
2.5.0



More information about the wayland-devel mailing list