Skip to contentSkip to conversation

<sys/fcntl.h> is a less portable synonym to <fcntl.h>

PATCH New Felix Janda 1 participant 1 message May 10, 2015 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 3/4 <sys/fcntl.h> is a less portable synonym to <fcntl.h>

---
 utils/qv4l2/raw2sliced.cpp          | 2 +-
 utils/v4l2-compliance/v4l-helpers.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
utils/qv4l2/raw2sliced.cpp +1 -1
index 4db158a..9fee6e1 100644
@@ -5,7 +5,7 @@
 #include <string.h>
 #include <assert.h>
 #include <unistd.h>
-#include <sys/fcntl.h>
+#include <fcntl.h>
 
 #include "raw2sliced.h"
 
utils/v4l2-compliance/v4l-helpers.h +1 -1
index a36ca14..c7433e5 100644
@@ -9,7 +9,7 @@
 #include <time.h>
 #include <unistd.h>
 #include <sys/ioctl.h>
-#include <sys/fcntl.h>
+#include <fcntl.h>
 #include <sys/mman.h>
 #include <errno.h>
 
Signature · 1 line
2.3.6