diff --git a/.vscode/settings.json b/.vscode/settings.json
index c156a0c..0f1a7ec 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -70,6 +70,8 @@
"log.h": "c",
"buffer_list.h": "c",
"buffer.h": "c",
- "stdbool.h": "c"
+ "stdbool.h": "c",
+ "v4l2.h": "c",
+ "stdlib.h": "c"
}
}
diff --git a/Makefile b/Makefile
index b2a3fd9..edbc084 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ SRC := $(wildcard **/*.c **/*/*.c **/*.cc **/*/*.cc)
HEADERS := $(wildcard **/*.h **/*/*.h **/*.hh **/*/*.hh)
HTML := $(wildcard html/*.js html/*.html)
-CFLAGS := -Werror -Wall -g -I$(CURDIR)
+CFLAGS := -Werror -Wall -g -I$(CURDIR) -D_GNU_SOURCE
LDLIBS := -lpthread -lstdc++
ifneq (x,x$(shell which ccache))
diff --git a/html/index.html b/html/index.html
index 54ca405..7745dfe 100644
--- a/html/index.html
+++ b/html/index.html
@@ -55,7 +55,7 @@
The commands available on some cameras: