Module: wine Branch: oldstable Commit: a6557f640a806096c618c84b80400120e6c419df URL: https://source.winehq.org/git/wine.git/?a=commit;h=a6557f640a806096c618c84b8...
Author: Michael Stefaniuc mstefani@winehq.org Date: Tue Mar 30 20:26:19 2021 +0200
Revert "qcap: Avoid unused variable warning if v4l is absent."
This reverts commit cb8e15a64307e580123b459e4c5964dc7b0d73d9. Reported by Gerald Pfeifer to break the build when v4l is not available.
Signed-off-by: Michael Stefaniuc mstefani@winehq.org
---
dlls/qcap/v4l.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/qcap/v4l.c b/dlls/qcap/v4l.c index e548000187f..0d7e176d3da 100644 --- a/dlls/qcap/v4l.c +++ b/dlls/qcap/v4l.c @@ -63,9 +63,10 @@ #include "qcap_main.h" #include "capture.h"
+WINE_DEFAULT_DEBUG_CHANNEL(qcap); + #ifdef HAVE_LINUX_VIDEODEV2_H
-WINE_DEFAULT_DEBUG_CHANNEL(qcap); WINE_DECLARE_DEBUG_CHANNEL(winediag);
static typeof(open) *video_open = open;